pub struct InvalidBitPattern<Bytes> {
pub invalid_bytes: Bytes,
}
Expand description
The bitfield contained an invalid bit pattern.
Fields§
§invalid_bytes: Bytes
Implementations§
Source§impl<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§
Source§impl<Bytes: Debug> Debug for InvalidBitPattern<Bytes>
impl<Bytes: Debug> Debug for InvalidBitPattern<Bytes>
Source§impl<Bytes> Display for InvalidBitPattern<Bytes>where
Bytes: Debug,
impl<Bytes> Display for InvalidBitPattern<Bytes>where
Bytes: Debug,
Source§impl<Bytes: PartialEq> PartialEq for InvalidBitPattern<Bytes>
impl<Bytes: PartialEq> PartialEq for InvalidBitPattern<Bytes>
impl<Bytes: Eq> Eq for InvalidBitPattern<Bytes>
impl<Bytes> StructuralPartialEq for InvalidBitPattern<Bytes>
Auto Trait Implementations§
impl<Bytes> Freeze for InvalidBitPattern<Bytes>where
Bytes: Freeze,
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§
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