Enum aldrin_core::SerializeError
source · pub enum SerializeError {
Overflow,
TooManyElements,
TooFewElements,
TooDeeplyNested,
}
Variants§
Trait Implementations§
source§impl Clone for SerializeError
impl Clone for SerializeError
source§fn clone(&self) -> SerializeError
fn clone(&self) -> SerializeError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SerializeError
impl Debug for SerializeError
source§impl Display for SerializeError
impl Display for SerializeError
source§impl Error for SerializeError
impl Error for SerializeError
1.30.0 · 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()
source§impl PartialEq for SerializeError
impl PartialEq for SerializeError
source§fn eq(&self, other: &SerializeError) -> bool
fn eq(&self, other: &SerializeError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SerializeError
impl Eq for SerializeError
impl StructuralPartialEq for SerializeError
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