Struct foxbox_thinkerbell::fake_env::FakeEnv [] [src]

pub struct FakeEnv {
    // some fields omitted
}

The test environment.

Methods

impl FakeEnv

fn new(on_event: Box<ExtSender<FakeEnvEvent>>) -> Self

fn execute(&self, instruction: Instruction)

Execute instructions issued by the user.

Trait Implementations

impl ExecutableDevEnv for FakeEnv

type WatchGuard = AdapterManager::WatchGuard

type API = AdapterManager

fn api(&self) -> &Self::API

type TimerGuard = TimerGuard

fn start_timer(&self, duration: Duration, timer: Box<ExtSender<()>>) -> Self::TimerGuard

impl Serialize for FakeEnv

fn serialize<S>(&self, _: &mut S) -> Result<(), S::Error> where S: Serializer

impl Deserialize for FakeEnv

fn deserialize<D>(_: &mut D) -> Result<Self, D::Error> where D: Deserializer

Derived Implementations

impl Clone for FakeEnv

fn clone(&self) -> FakeEnv

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