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
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
🔬 This is a nightly-only experimental API. (
backtrace
)Returns a stack backtrace, if available, of where this error occurred. 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(_: &Self::ArchivedMetadata) -> <Self as Pointee>::Metadata
fn pointer_metadata(_: &Self::ArchivedMetadata) -> <Self as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more