[][src]Enum toio::proto::TargetResValue

#[repr(u8)]pub enum TargetResValue {
    Ok,
    Timeout,
    IdMissed,
    InvalidParam,
    InvalidState,
    OtherWrite,
    Unsupported,
    Full,
}

The result value of the request.

Variants

Ok

Succeeded.

Timeout

The request timed out.

IdMissed

The cube is out of the area of position id.

InvalidParam

The given parameters were invalid.

InvalidState

The state of the cube went invalid (e.g. powered off during movement).

OtherWrite

The new request was written.

Unsupported

The request was not supported.

Full

The number of the pending requests exceeds the capacity.

Trait Implementations

impl Clone for TargetResValue[src]

impl Copy for TargetResValue[src]

impl Debug for TargetResValue[src]

impl<'de> Deserialize<'de> for TargetResValue[src]

impl Eq for TargetResValue[src]

impl Hash for TargetResValue[src]

impl PartialEq<TargetResValue> for TargetResValue[src]

impl Serialize for TargetResValue[src]

impl StructuralEq for TargetResValue[src]

impl StructuralPartialEq for TargetResValue[src]

Auto Trait Implementations

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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, 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.