pub struct InvalidPattern;Expand description
Error occurred when trying to construct a ByteBase2 with an invalid string pattern.
§Example
use binary_byte::{ ByteBase2, InvalidPattern };
assert_eq!(ByteBase2::from_string("foo"), Err(InvalidPattern));See also ByteBase2::from_string.
Trait Implementations§
Source§impl Debug for InvalidPattern
impl Debug for InvalidPattern
Source§impl PartialEq for InvalidPattern
impl PartialEq for InvalidPattern
impl StructuralPartialEq for InvalidPattern
Auto Trait Implementations§
impl Freeze for InvalidPattern
impl RefUnwindSafe for InvalidPattern
impl Send for InvalidPattern
impl Sync for InvalidPattern
impl Unpin for InvalidPattern
impl UnwindSafe for InvalidPattern
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