pub struct LockDetails {
pub pid: u32,
pub user: String,
pub host: String,
pub working_directory: String,
pub command_line: Vec<String>,
pub start_time_nanos: u64,
}Expand description
What a lock holder writes into the lock file, so that a waiting process can say what it is waiting for.
Fields§
§pid: u32The process ID of the holder.
user: StringThe name of the user the holder runs as, or the user ID when it has no name.
host: StringThe host name of the machine.
working_directory: StringThe working directory of the holder.
command_line: Vec<String>The command line of the holder, one item per argument.
start_time_nanos: u64When the holder started, in nanoseconds since the Unix epoch.
Implementations§
Trait Implementations§
Source§impl Clone for LockDetails
impl Clone for LockDetails
Source§impl Debug for LockDetails
impl Debug for LockDetails
Source§impl<'bytes, Ctx> Decode<'bytes, Ctx> for LockDetails
impl<'bytes, Ctx> Decode<'bytes, Ctx> for LockDetails
Source§impl Display for LockDetails
impl Display for LockDetails
Source§impl<Ctx> Encode<Ctx> for LockDetails
impl<Ctx> Encode<Ctx> for LockDetails
impl Eq for LockDetails
Source§impl PartialEq for LockDetails
impl PartialEq for LockDetails
impl StructuralPartialEq for LockDetails
Auto Trait Implementations§
impl Freeze for LockDetails
impl RefUnwindSafe for LockDetails
impl Send for LockDetails
impl Sync for LockDetails
impl Unpin for LockDetails
impl UnsafeUnpin for LockDetails
impl UnwindSafe for LockDetails
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.