pub enum SerializeError {
InsufficientBuffer,
AndThenUnusedBytes,
CondFailed,
SizeOverflow,
TryMapFailed,
RefinedPredicateFailed,
RepeatEmptyElement,
Other(String),
}
Expand description
Serializer errors
Variants§
InsufficientBuffer
AndThenUnusedBytes
CondFailed
SizeOverflow
TryMapFailed
RefinedPredicateFailed
RepeatEmptyElement
Other(String)
Trait Implementations§
Source§impl Debug for SerializeError
impl Debug for SerializeError
Source§impl From<SerializeError> for Error
impl From<SerializeError> for Error
Source§fn from(e: SerializeError) -> Error
fn from(e: SerializeError) -> Error
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SerializeError
impl RefUnwindSafe for SerializeError
impl Send for SerializeError
impl Sync for SerializeError
impl Unpin for SerializeError
impl UnwindSafe for SerializeError
Blanket Implementations§
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
Source§impl<T, U> SpecTryInto<U> for Twhere
U: SpecTryFrom<T>,
impl<T, U> SpecTryInto<U> for Twhere
U: SpecTryFrom<T>,
Source§type Error = <U as SpecTryFrom<T>>::Error
type Error = <U as SpecTryFrom<T>>::Error
The type returned in the event of a conversion error.