pub struct LockInfo {
pub pid: u32,
pub start_time: u64,
pub created_at: u64,
pub spec_id: String,
pub xchecker_version: String,
}Expand description
Lock information stored in the lock file
Fields§
§pid: u32Process ID that created the lock
start_time: u64Process start time (seconds since UNIX epoch)
created_at: u64Timestamp when the lock was created (seconds since UNIX epoch)
spec_id: StringSpec ID being locked
xchecker_version: Stringxchecker version that created the lock
Trait Implementations§
Source§impl<'de> Deserialize<'de> for LockInfo
impl<'de> Deserialize<'de> for LockInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for LockInfo
impl RefUnwindSafe for LockInfo
impl Send for LockInfo
impl Sync for LockInfo
impl Unpin for LockInfo
impl UnsafeUnpin for LockInfo
impl UnwindSafe for LockInfo
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