[][src]Struct transact::protocol::command::Sleep

pub struct Sleep { /* fields omitted */ }

Native implementation for Sleep

Methods

impl Sleep[src]

pub fn new(duration_millis: u32, sleep_type: SleepType) -> Self[src]

pub fn duration_millis(&self) -> &u32[src]

pub fn sleep_type(&self) -> &SleepType[src]

Trait Implementations

impl FromProto<Sleep> for Sleep[src]

impl FromNative<Sleep> for Sleep[src]

impl FromBytes<Sleep> for Sleep[src]

impl IntoBytes for Sleep[src]

impl IntoNative<Sleep> for Sleep[src]

impl IntoProto<Sleep> for Sleep[src]

impl Clone for Sleep[src]

impl Debug for Sleep[src]

Auto Trait Implementations

impl Send for Sleep

impl Unpin for Sleep

impl Sync for Sleep

impl UnwindSafe for Sleep

impl RefUnwindSafe for Sleep

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