Struct bytesio::bits_errors::BitError
source · pub struct BitError {
pub value: BitErrorValue,
}
Fields§
§value: BitErrorValue
Trait Implementations§
source§impl Fail for BitError
impl Fail for BitError
source§fn cause(&self) -> Option<&dyn Fail>
fn cause(&self) -> Option<&dyn Fail>
Returns a reference to the underlying cause of this failure, if it
is an error that wraps other errors. Read more
source§fn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the
Backtrace
carried by this failure, if it
carries one. Read moresource§impl From<BitErrorValue> for BitError
impl From<BitErrorValue> for BitError
source§fn from(val: BitErrorValue) -> Self
fn from(val: BitErrorValue) -> Self
Converts to this type from the input type.
source§impl From<BytesReadError> for BitError
impl From<BytesReadError> for BitError
source§fn from(error: BytesReadError) -> Self
fn from(error: BytesReadError) -> Self
Converts to this type from the input type.
source§impl From<BytesWriteError> for BitError
impl From<BytesWriteError> for BitError
source§fn from(error: BytesWriteError) -> Self
fn from(error: BytesWriteError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for BitError
impl Send for BitError
impl Sync for BitError
impl Unpin for BitError
impl !UnwindSafe for BitError
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