[−][src]Struct modular_bitfield::error::InvalidBitPattern
The bitfield contained an invalid bit pattern.
Fields
invalid_bytes: Bytes
Implementations
impl<Bytes> InvalidBitPattern<Bytes>
[src]
pub fn new(invalid_bytes: Bytes) -> Self
[src]
Creates a new invalid bit pattern error.
pub fn invalid_bytes(self) -> Bytes
[src]
Returns the invalid bit pattern.
Trait Implementations
impl<Bytes: Debug> Debug for InvalidBitPattern<Bytes>
[src]
impl<Bytes> Display for InvalidBitPattern<Bytes> where
Bytes: Debug,
[src]
Bytes: Debug,
impl<Bytes: Eq> Eq for InvalidBitPattern<Bytes>
[src]
impl<Bytes: PartialEq> PartialEq<InvalidBitPattern<Bytes>> for InvalidBitPattern<Bytes>
[src]
fn eq(&self, other: &InvalidBitPattern<Bytes>) -> bool
[src]
fn ne(&self, other: &InvalidBitPattern<Bytes>) -> bool
[src]
impl<Bytes> StructuralEq for InvalidBitPattern<Bytes>
[src]
impl<Bytes> StructuralPartialEq for InvalidBitPattern<Bytes>
[src]
Auto Trait Implementations
impl<Bytes> Send for InvalidBitPattern<Bytes> where
Bytes: Send,
Bytes: Send,
impl<Bytes> Sync for InvalidBitPattern<Bytes> where
Bytes: Sync,
Bytes: Sync,
impl<Bytes> Unpin for InvalidBitPattern<Bytes> where
Bytes: Unpin,
Bytes: Unpin,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,