[][src]Enum tinkerforge::converting_callback_receiver::CallbackTryRecvError

pub enum CallbackTryRecvError {
    QueueDisconnected,
    QueueEmpty,
    MalformedPacket,
}

Error type which is returned if a try_recv call fails.

Variants

QueueDisconnected

The queue was disconnected. This usually happens if the ip connection is destroyed.

QueueEmpty

There are currently no responses available.

MalformedPacket

The received packet had an unexpected length. Maybe a function was called on a wrong brick or bricklet?

Trait Implementations

impl Clone for CallbackTryRecvError[src]

impl Copy for CallbackTryRecvError[src]

impl PartialEq<CallbackTryRecvError> for CallbackTryRecvError[src]

impl Debug for CallbackTryRecvError[src]

impl Display for CallbackTryRecvError[src]

impl StructuralPartialEq for CallbackTryRecvError[src]

impl Error for CallbackTryRecvError[src]

Auto Trait Implementations

Blanket Implementations

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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

type Error = !

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.

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self