Struct futures_util::lock::bilock::Inner
source · struct Inner<T> {
state: AtomicPtr<Waker>,
value: Option<UnsafeCell<T>>,
}
Fields§
§state: AtomicPtr<Waker>
§value: Option<UnsafeCell<T>>
Implementations§
Trait Implementations§
impl<T: Send> Send for Inner<T>
impl<T: Send> Sync for Inner<T>
Auto Trait Implementations§
impl<T> !Freeze for Inner<T>
impl<T> !RefUnwindSafe for Inner<T>
impl<T> Unpin for Inner<T>where
T: Unpin,
impl<T> UnwindSafe for Inner<T>where
T: UnwindSafe,
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