pub enum SerializeError {
Io(IoError),
Confinement(Error),
}
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)>
Returns 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 From<Error> for SerializeError
impl From<Error> for SerializeError
Source§impl From<Error> for SerializeError
impl From<Error> for SerializeError
Source§impl From<SerializeError> for String
impl From<SerializeError> for String
Source§fn from(err: SerializeError) -> Self
fn from(err: SerializeError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SerializeError
impl PartialEq 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