struct Waiters {
list: LinkedList<Waiter, <Waiter as Link>::Target>,
reader: Option<Waker>,
writer: Option<Waker>,
}
Fields§
§list: LinkedList<Waiter, <Waiter as Link>::Target>
List of all current waiters.
reader: Option<Waker>
Waker used for AsyncRead
.
writer: Option<Waker>
Waker used for AsyncWrite
.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Waiters
impl Send for Waiters
impl Sync for Waiters
impl Unpin for Waiters
impl !UnwindSafe for Waiters
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