pub struct SessionAttested {
pub pid: u32,
pub started_at_unix_ms: u64,
pub exe: Option<String>,
}Expand description
Proved by the kernel at the moment the connection carrying this
session’s request was accepted – never rewritable by the process it
describes. Mirrors the three kernel-sourced fields of
mail4agent-attest::PeerProcess (pid, started_at_unix_ms, exe);
this crate cannot depend on that one directly (see Declared), so
this is the wire shape of the same three facts.
Fields§
§pid: u32§started_at_unix_ms: u64§exe: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for SessionAttested
impl Clone for SessionAttested
Source§impl Debug for SessionAttested
impl Debug for SessionAttested
Source§impl<'de> Deserialize<'de> for SessionAttested
impl<'de> Deserialize<'de> for SessionAttested
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 SessionAttested
Source§impl PartialEq for SessionAttested
impl PartialEq for SessionAttested
Source§impl Serialize for SessionAttested
impl Serialize for SessionAttested
impl StructuralPartialEq for SessionAttested
Auto Trait Implementations§
impl Freeze for SessionAttested
impl RefUnwindSafe for SessionAttested
impl Send for SessionAttested
impl Sync for SessionAttested
impl Unpin for SessionAttested
impl UnsafeUnpin for SessionAttested
impl UnwindSafe for SessionAttested
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