[][src]Enum transact::protocol::command::Command

pub enum Command {
    SetState(SetState),
    DeleteState(DeleteState),
    GetState(GetState),
    AddEvent(AddEvent),
    AddReceiptData(AddReceiptData),
    Sleep(Sleep),
    ReturnInvalid(ReturnInvalid),
    ReturnInternalError(ReturnInternalError),
}

A command to be executed

Variants

SetState(SetState)
DeleteState(DeleteState)
GetState(GetState)
AddEvent(AddEvent)
AddReceiptData(AddReceiptData)
Sleep(Sleep)
ReturnInvalid(ReturnInvalid)
ReturnInternalError(ReturnInternalError)

Trait Implementations

impl FromProto<Command> for Command[src]

impl FromNative<Command> for Command[src]

impl FromBytes<Command> for Command[src]

impl IntoBytes for Command[src]

impl IntoNative<Command> for Command[src]

impl IntoProto<Command> for Command[src]

impl Clone for Command[src]

impl Debug for Command[src]

Auto Trait Implementations

impl Send for Command

impl Unpin for Command

impl Sync for Command

impl UnwindSafe for Command

impl RefUnwindSafe for Command

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

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

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.

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

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

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

impl<T> SafeBorrow<T> for T where
    T: ?Sized

impl<'a, T> DefaultFeatures<'a> for T where
    T: 'a + Send + Sync + Clone

impl<'a, T> NonSyncFeatures<'a> for T where
    T: 'a + Clone

impl<T> Same<T> for T

type Output = T

Should always be Self