pub enum CorruptionKind {
Truncated,
InvalidHeader,
InvalidUtf8,
IntegerOverflow,
}Expand description
Broad reason that encoded or compressed input could not be read.
Variants§
Trait Implementations§
Source§impl Clone for CorruptionKind
impl Clone for CorruptionKind
Source§fn clone(&self) -> CorruptionKind
fn clone(&self) -> CorruptionKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CorruptionKind
Source§impl Debug for CorruptionKind
impl Debug for CorruptionKind
impl Eq for CorruptionKind
Source§impl PartialEq for CorruptionKind
impl PartialEq for CorruptionKind
impl StructuralPartialEq for CorruptionKind
Auto Trait Implementations§
impl Freeze for CorruptionKind
impl RefUnwindSafe for CorruptionKind
impl Send for CorruptionKind
impl Sync for CorruptionKind
impl Unpin for CorruptionKind
impl UnsafeUnpin for CorruptionKind
impl UnwindSafe for CorruptionKind
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