Enum rkyv::ser::serializers::CompositeSerializerError
source · [−]pub enum CompositeSerializerError<S, C, H> {
SerializerError(S),
ScratchSpaceError(C),
SharedError(H),
}
Expand description
The default serializer error.
Variants
SerializerError(S)
An error occurred while serializing
ScratchSpaceError(C)
An error occurred while using scratch space
SharedError(H)
An error occurred while serializing shared memory
Trait Implementations
sourceimpl<S, C, H> Display for CompositeSerializerError<S, C, H>where
S: Display,
C: Display,
H: Display,
impl<S, C, H> Display for CompositeSerializerError<S, C, H>where
S: Display,
C: Display,
H: Display,
sourceimpl<S, C, H> Error for CompositeSerializerError<S, C, H>where
S: Error + 'static,
C: Error + 'static,
H: Error + 'static,
impl<S, C, H> Error for CompositeSerializerError<S, C, H>where
S: Error + 'static,
C: Error + 'static,
H: Error + 'static,
sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations
impl<S, C, H> RefUnwindSafe for CompositeSerializerError<S, C, H>where
C: RefUnwindSafe,
H: RefUnwindSafe,
S: RefUnwindSafe,
impl<S, C, H> Send for CompositeSerializerError<S, C, H>where
C: Send,
H: Send,
S: Send,
impl<S, C, H> Sync for CompositeSerializerError<S, C, H>where
C: Sync,
H: Sync,
S: Sync,
impl<S, C, H> Unpin for CompositeSerializerError<S, C, H>where
C: Unpin,
H: Unpin,
S: Unpin,
impl<S, C, H> UnwindSafe for CompositeSerializerError<S, C, H>where
C: UnwindSafe,
H: UnwindSafe,
S: UnwindSafe,
Blanket Implementations
sourceimpl<T> ArchivePointee for T
impl<T> ArchivePointee for T
type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
sourcefn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more