pub enum Err<E> {
Parsing(Err<()>),
CRCMismatch,
TXErr,
NotOurs,
RPCErr(E),
ResponseOverrun,
Unknown,
}Expand description
Encapsulates errors that might occur when issuing or processing eRPCs.
Variants§
Parsing(Err<()>)
Parsing via the nom crate indicated an error
CRCMismatch
The CRC was wrong
TXErr
There was an issue while transmitting
NotOurs
The response we were given to parse was for a different (callback, probably) RPC.
RPCErr(E)
There was an RPC-specific error.
ResponseOverrun
Too much data was present in the response
Unknown
Trait Implementations§
impl<E> StructuralPartialEq for Err<E>
Auto Trait Implementations§
impl<E> Freeze for Err<E>where
E: Freeze,
impl<E> RefUnwindSafe for Err<E>where
E: RefUnwindSafe,
impl<E> Send for Err<E>where
E: Send,
impl<E> Sync for Err<E>where
E: Sync,
impl<E> Unpin for Err<E>where
E: Unpin,
impl<E> UnwindSafe for Err<E>where
E: 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