pub struct NullExecutor { /* private fields */ }Expand description
Null executor for testing.
Does nothing but track calls.
Implementations§
Source§impl NullExecutor
impl NullExecutor
Sourcepub fn call_count(&self) -> u64
pub fn call_count(&self) -> u64
Get the number of calls made.
Trait Implementations§
Source§impl ActorExecutor for NullExecutor
impl ActorExecutor for NullExecutor
Auto Trait Implementations§
impl !Freeze for NullExecutor
impl RefUnwindSafe for NullExecutor
impl Send for NullExecutor
impl Sync for NullExecutor
impl Unpin for NullExecutor
impl UnsafeUnpin for NullExecutor
impl UnwindSafe for NullExecutor
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