pub struct LifecycleRunner { /* private fields */ }Expand description
Ordered lifecycle hook runner.
Implementations§
Source§impl LifecycleRunner
impl LifecycleRunner
Sourcepub fn hook<H>(self, hook: H) -> Selfwhere
H: LifecycleHook,
pub fn hook<H>(self, hook: H) -> Selfwhere
H: LifecycleHook,
Registers a lifecycle hook.
Trait Implementations§
Source§impl Default for LifecycleRunner
impl Default for LifecycleRunner
Source§fn default() -> LifecycleRunner
fn default() -> LifecycleRunner
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for LifecycleRunner
impl !UnwindSafe for LifecycleRunner
impl Freeze for LifecycleRunner
impl Send for LifecycleRunner
impl Sync for LifecycleRunner
impl Unpin for LifecycleRunner
impl UnsafeUnpin for LifecycleRunner
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