pub struct OneShot { /* private fields */ }Implementations
Trait Implementations
sourceimpl Task for OneShot
impl Task for OneShot
type Started = OneShotStarted
fn start(self) -> OneShotStarted
Auto Trait Implementations
impl !RefUnwindSafe for OneShot
impl Send for OneShot
impl !Sync for OneShot
impl Unpin for OneShot
impl !UnwindSafe for OneShot
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more