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