struct NotifiedProject<'a> {
notify: &'a Notify,
state: &'a mut State,
notify_waiters_calls: &'a usize,
waiter: &'a Waiter,
}Expand description
A custom project implementation is used in place of pin-project-lite
as a custom drop for Notified and OwnedNotified implementation
is needed.
Fields§
§notify: &'a Notify§state: &'a mut State§notify_waiters_calls: &'a usize§waiter: &'a WaiterImplementations§
Source§impl NotifiedProject<'_>
impl NotifiedProject<'_>
fn poll_notified(self, waker: Option<&Waker>) -> Poll<()>
fn drop_notified(self)
Auto Trait Implementations§
impl<'a> Freeze for NotifiedProject<'a>
impl<'a> !RefUnwindSafe for NotifiedProject<'a>
impl<'a> !Send for NotifiedProject<'a>
impl<'a> !Sync for NotifiedProject<'a>
impl<'a> Unpin for NotifiedProject<'a>
impl<'a> !UnwindSafe for NotifiedProject<'a>
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