pub struct LockOwner {
pub pid: u32,
pub started_at: String,
pub command: String,
pub label: String,
}Expand description
Lock owner metadata parsed from the owner file.
Fields§
§pid: u32Process ID that holds the lock.
started_at: StringISO 8601 timestamp when the lock was acquired.
command: StringCommand line of the process that acquired the lock.
label: StringLabel describing the lock purpose (e.g., “run one”, “task”).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LockOwner
impl RefUnwindSafe for LockOwner
impl Send for LockOwner
impl Sync for LockOwner
impl Unpin for LockOwner
impl UnsafeUnpin for LockOwner
impl UnwindSafe for LockOwner
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