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]

[src]

Performs the conversion.

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

[src]

Formats the value using the given formatter.

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

[src]

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

[src]

This method tests for !=.

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

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

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more