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
An error occurred while serializing shared memory
Trait Implementations§
source§impl<S, C, H> Display for CompositeSerializerError<S, C, H>
impl<S, C, H> Display for CompositeSerializerError<S, C, H>
source§impl<S, C, H> Error for CompositeSerializerError<S, C, H>
impl<S, C, H> Error for CompositeSerializerError<S, C, H>
source§fn 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 · source§fn 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> Freeze for CompositeSerializerError<S, C, H>
impl<S, C, H> RefUnwindSafe for CompositeSerializerError<S, C, H>
impl<S, C, H> Send for CompositeSerializerError<S, C, H>
impl<S, C, H> Sync for CompositeSerializerError<S, C, H>
impl<S, C, H> Unpin for CompositeSerializerError<S, C, H>
impl<S, C, H> UnwindSafe for CompositeSerializerError<S, C, H>
Blanket Implementations§
source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
source§fn 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.
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more