Struct conch_runtime::spawn::GuardBodyPair[][src]

pub struct GuardBodyPair<T> {
    pub guard: T,
    pub body: T,
}

A grouping of guard and body commands.

Fields

The guard commands, which if successful, should lead to the execution of the body commands.

The body commands to execute if the guard is successful.

Trait Implementations

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

Performs the conversion.

impl<T: Debug> Debug for GuardBodyPair<T>
[src]

Formats the value using the given formatter. Read more

impl<T: PartialEq> PartialEq for GuardBodyPair<T>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<T: Eq> Eq for GuardBodyPair<T>
[src]

impl<T: Clone> Clone for GuardBodyPair<T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl<T> Send for GuardBodyPair<T> where
    T: Send

impl<T> Sync for GuardBodyPair<T> where
    T: Sync