pub struct LoopCompletion { /* private fields */ }Expand description
Completion handle.
Implementations§
Source§impl LoopCompletion
impl LoopCompletion
Sourcepub async fn take_receiver(&self) -> Receiver<LoopEnd> ⓘ
pub async fn take_receiver(&self) -> Receiver<LoopEnd> ⓘ
Take the oneshot receiver once (Law 21: no guard held across await).
Auto Trait Implementations§
impl !Freeze for LoopCompletion
impl !RefUnwindSafe for LoopCompletion
impl !UnwindSafe for LoopCompletion
impl Send for LoopCompletion
impl Sync for LoopCompletion
impl Unpin for LoopCompletion
impl UnsafeUnpin for LoopCompletion
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