pub struct FenceOwner {
pub schema_version: u32,
pub kind: FenceOwnerKind,
pub generation: Option<u64>,
pub process_id: u32,
pub acquired_at: DateTime<Utc>,
pub identity: Option<ProcessIdentity>,
}Expand description
Who holds the launch fence, as recorded by the holder.
Unlike the other documents here this one tolerates unknown fields, so that a later build can add to the owner record without this build reading a newer guest’s claim as undecodable.
Fields§
§schema_version: u32§kind: FenceOwnerKind§generation: Option<u64>§process_id: u32§acquired_at: DateTime<Utc>§identity: Option<ProcessIdentity>The claimer’s PID plus start token, the record HostLock keeps. A PID
alone cannot tell the owner from whatever holds that PID after a WSL
restart. Absent in claims written before 0.4.35, and when the claimer
could not read its own identity.
Trait Implementations§
Source§impl Clone for FenceOwner
impl Clone for FenceOwner
Source§impl Debug for FenceOwner
impl Debug for FenceOwner
Source§impl<'de> Deserialize<'de> for FenceOwner
impl<'de> Deserialize<'de> for FenceOwner
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
impl Eq for FenceOwner
Source§impl PartialEq for FenceOwner
impl PartialEq for FenceOwner
Source§impl Serialize for FenceOwner
impl Serialize for FenceOwner
impl StructuralPartialEq for FenceOwner
Auto Trait Implementations§
impl Freeze for FenceOwner
impl RefUnwindSafe for FenceOwner
impl Send for FenceOwner
impl Sync for FenceOwner
impl Unpin for FenceOwner
impl UnsafeUnpin for FenceOwner
impl UnwindSafe for FenceOwner
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