Enum pure_hfsm::builder::Target[][src]

pub enum Target {
    Goto(String),
    Enter(String),
    End,
}
Expand description

Convenience enum for serialized state machines

Pass this enum to the NameMapping::target method to get the corresponding crate::Target needed to implement the crate::Transition trait.

Variants

Goto(String)

Tuple Fields

0: String

Enter(String)

Tuple Fields

0: String

End

Trait Implementations

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.