pub struct Holder {
pub pid: u32,
pub since: u64,
pub command: String,
}Expand description
The process that holds a slot, as it described itself when it took the slot.
This is for display only: the lock, not this record, says whether a slot is held.
Fields§
§pid: u32The process id of the holder.
since: u64Seconds since the Unix epoch at which the slot was taken.
command: StringWhat the holder said it runs.
Trait Implementations§
impl Eq for Holder
impl StructuralPartialEq for Holder
Auto Trait Implementations§
impl Freeze for Holder
impl RefUnwindSafe for Holder
impl Send for Holder
impl Sync for Holder
impl Unpin for Holder
impl UnsafeUnpin for Holder
impl UnwindSafe for Holder
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