Struct modular_bitfield::error::InvalidBitPattern
source · [−]pub struct InvalidBitPattern<Bytes> {
pub invalid_bytes: Bytes,
}
Expand description
The bitfield contained an invalid bit pattern.
Fields
invalid_bytes: Bytes
Implementations
sourceimpl<Bytes> InvalidBitPattern<Bytes>
impl<Bytes> InvalidBitPattern<Bytes>
sourcepub fn invalid_bytes(self) -> Bytes
pub fn invalid_bytes(self) -> Bytes
Returns the invalid bit pattern.
Trait Implementations
sourceimpl<Bytes: Debug> Debug for InvalidBitPattern<Bytes>
impl<Bytes: Debug> Debug for InvalidBitPattern<Bytes>
sourceimpl<Bytes> Display for InvalidBitPattern<Bytes>where
Bytes: Debug,
impl<Bytes> Display for InvalidBitPattern<Bytes>where
Bytes: Debug,
sourceimpl<Bytes: PartialEq> PartialEq<InvalidBitPattern<Bytes>> for InvalidBitPattern<Bytes>
impl<Bytes: PartialEq> PartialEq<InvalidBitPattern<Bytes>> for InvalidBitPattern<Bytes>
sourcefn eq(&self, other: &InvalidBitPattern<Bytes>) -> bool
fn eq(&self, other: &InvalidBitPattern<Bytes>) -> bool
impl<Bytes: Eq> Eq for InvalidBitPattern<Bytes>
impl<Bytes> StructuralEq for InvalidBitPattern<Bytes>
impl<Bytes> StructuralPartialEq for InvalidBitPattern<Bytes>
Auto Trait Implementations
impl<Bytes> RefUnwindSafe for InvalidBitPattern<Bytes>where
Bytes: RefUnwindSafe,
impl<Bytes> Send for InvalidBitPattern<Bytes>where
Bytes: Send,
impl<Bytes> Sync for InvalidBitPattern<Bytes>where
Bytes: Sync,
impl<Bytes> Unpin for InvalidBitPattern<Bytes>where
Bytes: Unpin,
impl<Bytes> UnwindSafe for InvalidBitPattern<Bytes>where
Bytes: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more