pub enum V2DeflateSerializeError {
InternalSerializationError(V2SerializeError),
IoError(Error),
}
Expand description
Errors that occur during serialization.
Variants§
InternalSerializationError(V2SerializeError)
The underlying serialization failed
IoError(Error)
An i/o operation failed.
Trait Implementations§
source§impl Debug for V2DeflateSerializeError
impl Debug for V2DeflateSerializeError
source§impl Display for V2DeflateSerializeError
impl Display for V2DeflateSerializeError
source§impl Error for V2DeflateSerializeError
impl Error for V2DeflateSerializeError
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()
Auto Trait Implementations§
impl Freeze for V2DeflateSerializeError
impl !RefUnwindSafe for V2DeflateSerializeError
impl Send for V2DeflateSerializeError
impl Sync for V2DeflateSerializeError
impl Unpin for V2DeflateSerializeError
impl !UnwindSafe for V2DeflateSerializeError
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