pub(crate) struct WaitPlaces<T> {
pub(crate) value: Weak<Mutex<Option<T>>>,
pub(crate) waker: Weak<Mutex<Option<Waker>>>,
}Fields§
§value: Weak<Mutex<Option<T>>>§waker: Weak<Mutex<Option<Waker>>>Implementations§
Source§impl<T> WaitPlaces<T>
impl<T> WaitPlaces<T>
Trait Implementations§
Source§impl<T: Clone> Clone for WaitPlaces<T>
impl<T: Clone> Clone for WaitPlaces<T>
Source§fn clone(&self) -> WaitPlaces<T>
fn clone(&self) -> WaitPlaces<T>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<T> Freeze for WaitPlaces<T>
impl<T> RefUnwindSafe for WaitPlaces<T>
impl<T> Send for WaitPlaces<T>where
T: Send,
impl<T> Sync for WaitPlaces<T>where
T: Send,
impl<T> Unpin for WaitPlaces<T>
impl<T> UnwindSafe for WaitPlaces<T>
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