pub struct LockStatus {
pub lock: Lock,
pub owned_by_self: bool,
}Expand description
Status of a lock check
Fields§
§lock: LockThe lock
owned_by_self: boolWhether it’s owned by the current actor
Trait Implementations§
Source§impl Clone for LockStatus
impl Clone for LockStatus
Source§fn clone(&self) -> LockStatus
fn clone(&self) -> LockStatus
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 Freeze for LockStatus
impl RefUnwindSafe for LockStatus
impl Send for LockStatus
impl Sync for LockStatus
impl Unpin for LockStatus
impl UnwindSafe for LockStatus
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