pub struct OwnedNotified { /* private fields */ }
Expand description
Future returned from Notify::notified_owned()
.
This future is fused, so once it has completed, any future calls to poll
will immediately return Poll::Ready
.
Implementations§
Source§impl OwnedNotified
impl OwnedNotified
Sourcepub fn enable(self: Pin<&mut Self>) -> bool
pub fn enable(self: Pin<&mut Self>) -> bool
Adds this future to the list of futures that are ready to receive
wakeups from calls to notify_one
.
See Notified::enable
for more details.
Trait Implementations§
Source§impl Debug for OwnedNotified
impl Debug for OwnedNotified
Source§impl Drop for OwnedNotified
impl Drop for OwnedNotified
Source§impl Future for OwnedNotified
impl Future for OwnedNotified
impl Sync for OwnedNotified
Auto Trait Implementations§
impl !Freeze for OwnedNotified
impl !RefUnwindSafe for OwnedNotified
impl Send for OwnedNotified
impl !Unpin for OwnedNotified
impl !UnwindSafe for OwnedNotified
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
Source§impl<F> IntoFuture for Fwhere
F: Future,
impl<F> IntoFuture for Fwhere
F: Future,
Source§type IntoFuture = F
type IntoFuture = F
Which kind of future are we turning this into?
Source§fn into_future(self) -> <F as IntoFuture>::IntoFuture
fn into_future(self) -> <F as IntoFuture>::IntoFuture
Creates a future from a value. Read more