pub struct NoopPluginLifecycle;Expand description
Default no-op lifecycle used by endpoint-only native fixtures.
Trait Implementations§
Source§impl Debug for NoopPluginLifecycle
impl Debug for NoopPluginLifecycle
Source§impl Default for NoopPluginLifecycle
impl Default for NoopPluginLifecycle
Source§fn default() -> NoopPluginLifecycle
fn default() -> NoopPluginLifecycle
Returns the “default value” for a type. Read more
Source§impl PluginLifecycle for NoopPluginLifecycle
impl PluginLifecycle for NoopPluginLifecycle
Source§fn prepare(&self, _context: PrepareContext) -> PluginFuture
fn prepare(&self, _context: PrepareContext) -> PluginFuture
Reserves reversible resources without exposing external work.
Source§fn activate(&self, _context: ActivateContext) -> PluginFuture
fn activate(&self, _context: ActivateContext) -> PluginFuture
Initializes the generation against already prepared dependencies.
Source§fn deactivate(&self, _context: DeactivateContext) -> PluginFuture
fn deactivate(&self, _context: DeactivateContext) -> PluginFuture
Releases resources and work owned by this generation.
Auto Trait Implementations§
impl Freeze for NoopPluginLifecycle
impl RefUnwindSafe for NoopPluginLifecycle
impl Send for NoopPluginLifecycle
impl Sync for NoopPluginLifecycle
impl Unpin for NoopPluginLifecycle
impl UnsafeUnpin for NoopPluginLifecycle
impl UnwindSafe for NoopPluginLifecycle
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