Struct futures_channel::lock::TryLock
source · pub(crate) struct TryLock<'a, T> {
__ptr: &'a Lock<T>,
}
Expand description
Sentinel representing an acquired lock through which the data can be accessed.
Fields§
§__ptr: &'a Lock<T>
Trait Implementations§
Auto Trait Implementations§
impl<'a, T> Freeze for TryLock<'a, T>
impl<'a, T> !RefUnwindSafe for TryLock<'a, T>
impl<'a, T> Send for TryLock<'a, T>where
T: Send,
impl<'a, T> Sync for TryLock<'a, T>where
T: Send,
impl<'a, T> Unpin for TryLock<'a, T>
impl<'a, T> !UnwindSafe for TryLock<'a, 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