pub struct OrderEmulatorAdapter { /* private fields */ }Implementations§
Source§impl OrderEmulatorAdapter
impl OrderEmulatorAdapter
Sourcepub fn new(clock: Rc<RefCell<dyn Clock>>, cache: Rc<RefCell<Cache>>) -> Self
pub fn new(clock: Rc<RefCell<dyn Clock>>, cache: Rc<RefCell<Cache>>) -> Self
Creates a new OrderEmulatorAdapter instance.
pub fn get_emulator(&self) -> Ref<'_, OrderEmulator>
pub fn get_emulator_mut(&self) -> RefMut<'_, OrderEmulator>
pub fn emulator(&self) -> Rc<RefCell<OrderEmulator>>
pub fn start(&self)
pub fn stop(&self)
pub fn reset(&self)
pub fn dispose(&self)
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for OrderEmulatorAdapter
impl !Send for OrderEmulatorAdapter
impl !Sync for OrderEmulatorAdapter
impl !UnwindSafe for OrderEmulatorAdapter
impl Freeze for OrderEmulatorAdapter
impl Unpin for OrderEmulatorAdapter
impl UnsafeUnpin for OrderEmulatorAdapter
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more