Enum foxbox_thinkerbell::fake_env::Instruction [] [src]

pub enum Instruction {
    AddAdapters(Vec<String>),
    AddServices(Vec<Service>),
    AddGetters(Vec<Channel<Getter>>),
    AddSetters(Vec<Channel<Setter>>),
    RemoveGetters(Vec<Id<Getter>>),
    RemoveSetters(Vec<Id<Setter>>),
    InjectGetterValues(Vec<(Id<Getter>, Result<Value, Error>)>),
    InjectSetterErrors(Vec<(Id<Setter>, Option<Error>)>),
    TriggerTimersUntil(TimeStamp),
    ResetTimers,
}

Instructions given to the simulator by the user.

Variants

AddAdapters
AddServices
AddGetters
AddSetters
RemoveGetters
RemoveSetters
InjectGetterValues
InjectSetterErrors
TriggerTimersUntil
ResetTimers

Trait Implementations

impl Deserialize for Instruction

fn deserialize<__D>(deserializer: &mut __D) -> Result<Instruction, __D::Error> where __D: Deserializer

Derived Implementations

impl Debug for Instruction

fn fmt(&self, __arg_0: &mut Formatter) -> Result