[][src]Enum seeed_erpc::Err

pub enum Err<E> {
    Parsing(Err<()>),
    CRCMismatch,
    TXErr,
    NotOurs,
    RPCErr(E),
    ResponseOverrun,
    Unknown,
}

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: Clone> Clone for Err<E>[src]

impl<E: Debug> Debug for Err<E>[src]

impl<E> From<Err<()>> for Err<E>[src]

impl<E: PartialEq> PartialEq<Err<E>> for Err<E>[src]

impl<E> StructuralPartialEq for Err<E>[src]

Auto Trait Implementations

impl<E> Send for Err<E> where
    E: Send
[src]

impl<E> Sync for Err<E> where
    E: Sync
[src]

impl<E> Unpin for Err<E> where
    E: Unpin
[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.