pub enum ProtocolError {
Command(u8),
Arg,
}Expand description
Type used to represent errors that can occur in sending or receiving commands over the binary API.
Variants§
Trait Implementations§
Source§impl Debug for ProtocolError
impl Debug for ProtocolError
Source§impl<T> From<ProtocolError> for ParseError<T>
impl<T> From<ProtocolError> for ParseError<T>
Source§fn from(e: ProtocolError) -> Self
fn from(e: ProtocolError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ProtocolError
impl RefUnwindSafe for ProtocolError
impl Send for ProtocolError
impl Sync for ProtocolError
impl Unpin for ProtocolError
impl UnsafeUnpin for ProtocolError
impl UnwindSafe for ProtocolError
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