pub struct Lifecycle { /* private fields */ }Implementations§
Source§impl Lifecycle
impl Lifecycle
pub fn transition(&mut self, phase: Phase, deadline: Option<Instant>)
pub fn next_timeout(&self) -> Option<Instant>
pub fn handle_timeout(&mut self, now: Instant)
pub fn abort(&mut self)
pub fn finish(&mut self, result: Completion)
pub fn poll(&mut self) -> Option<Completion>
Trait Implementations§
Auto Trait Implementations§
impl Forget for Lifecycle
impl Freeze for Lifecycle
impl RefUnwindSafe for Lifecycle
impl Send for Lifecycle
impl Sync for Lifecycle
impl Unpin for Lifecycle
impl UnsafeUnpin for Lifecycle
impl UnwindSafe for Lifecycle
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