[][src]Struct os_balloon::logic::OpenStratos

pub struct OpenStratos<S: GetState + Debug + Clone + Copy> {
    state: S,
}

Main OpenStratos state machine

Fields

state: S

State of the logic item, only for compile time checks, no actual memory layout.

Trait Implementations

impl StateMachine for OpenStratos<AcquiringFix>[src]

type Next = OpenStratos<FixAcquired>

The logic to run after the current state.

impl StateMachine for OpenStratos<FixAcquired>[src]

type Next = OpenStratos<WaitingLaunch>

The logic to run after the current state.

impl StateMachine for OpenStratos<GoingDown>[src]

type Next = OpenStratos<Landed>

The logic to run after the current state.

impl StateMachine for OpenStratos<GoingUp>[src]

type Next = OpenStratos<GoingDown>

The logic to run after the current state.

impl StateMachine for OpenStratos<Init>[src]

type Next = OpenStratos<AcquiringFix>

The logic to run after the current state.

impl StateMachine for OpenStratos<Landed>[src]

type Next = OpenStratos<ShutDown>

The logic to run after the current state.

impl StateMachine for OpenStratos<WaitingLaunch>[src]

type Next = OpenStratos<GoingUp>

The logic to run after the current state.

impl<S> GetState for OpenStratos<S> where
    S: GetState + Debug + Clone + Copy
[src]

impl MainLogic for OpenStratos<ShutDown>[src]

impl<S: Clone + GetState + Debug + Clone + Copy> Clone for OpenStratos<S>[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl<S: Copy + GetState + Debug + Clone + Copy> Copy for OpenStratos<S>[src]

impl<S: Debug + GetState + Debug + Clone + Copy> Debug for OpenStratos<S>[src]

Auto Trait Implementations

impl<S> Send for OpenStratos<S> where
    S: Send

impl<S> Sync for OpenStratos<S> where
    S: Sync

Blanket Implementations

impl<S> MainLogic for S where
    S: StateMachine + GetState
[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.

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> Erased for T[src]

impl<T> DebugAny for T where
    T: Any + Debug
[src]

impl<T> CloneAny for T where
    T: Clone + Any
[src]

impl<T> UnsafeAny for T where
    T: Any
[src]