pub struct LifecycleSimulator { /* private fields */ }Expand description
Lifecycle simulator for testing plugin lifecycle handling
Implementations§
Source§impl LifecycleSimulator
impl LifecycleSimulator
pub fn new() -> Self
pub fn emit_event(&mut self, event: LifecycleEvent)
pub fn event_history(&self) -> &[LifecycleEvent]
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LifecycleSimulator
impl RefUnwindSafe for LifecycleSimulator
impl Send for LifecycleSimulator
impl Sync for LifecycleSimulator
impl Unpin for LifecycleSimulator
impl UnsafeUnpin for LifecycleSimulator
impl UnwindSafe for LifecycleSimulator
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