pub enum BlockDecodeError {
InvalidHeader,
InvalidIndex,
ReservedBlockFlags,
InvalidVarInt,
}Variants§
Trait Implementations§
Source§impl Debug for BlockDecodeError
impl Debug for BlockDecodeError
Source§impl Display for BlockDecodeError
impl Display for BlockDecodeError
Source§impl Error for BlockDecodeError
impl Error for BlockDecodeError
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<BlockDecodeError> for DecodeError
impl From<BlockDecodeError> for DecodeError
Source§fn from(source: BlockDecodeError) -> Self
fn from(source: BlockDecodeError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for BlockDecodeError
impl RefUnwindSafe for BlockDecodeError
impl Send for BlockDecodeError
impl Sync for BlockDecodeError
impl Unpin for BlockDecodeError
impl UnsafeUnpin for BlockDecodeError
impl UnwindSafe for BlockDecodeError
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