pub enum Error<'a> {
Show 13 variants
Any,
Ascii(Ascii),
Binary(Endianness, BinaryType),
Byte(u8),
Bytes(&'a [u8]),
Char(char),
End,
Peek,
Satisfy,
Str(&'a str),
Take(usize),
TakeWhile1,
Message(Box<str>),
}Variants§
Any
Ascii(Ascii)
Binary(Endianness, BinaryType)
Byte(u8)
Bytes(&'a [u8])
Char(char)
End
Peek
Satisfy
Str(&'a str)
Take(usize)
TakeWhile1
Message(Box<str>)
Trait Implementations§
impl<'a> StructuralPartialEq for Error<'a>
Auto Trait Implementations§
impl<'a> Freeze for Error<'a>
impl<'a> RefUnwindSafe for Error<'a>
impl<'a> Send for Error<'a>
impl<'a> Sync for Error<'a>
impl<'a> Unpin for Error<'a>
impl<'a> UnsafeUnpin for Error<'a>
impl<'a> UnwindSafe for Error<'a>
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