Struct async_named_locker::GuardObject 
source · pub struct GuardObject<T> { /* private fields */ }Implementations§
source§impl<T> GuardObject<T>
 
impl<T> GuardObject<T>
pub fn new(locker: Locker, obj: T) -> Self
pub fn release_locker(self) -> T
Trait Implementations§
source§impl<T> Deref for GuardObject<T>
 
impl<T> Deref for GuardObject<T>
Auto Trait Implementations§
impl<T> RefUnwindSafe for GuardObject<T>where T: RefUnwindSafe,
impl<T> Send for GuardObject<T>where T: Send,
impl<T> Sync for GuardObject<T>where T: Sync,
impl<T> Unpin for GuardObject<T>where T: Unpin,
impl<T> UnwindSafe for GuardObject<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