pub struct Footprint {
pub at: u64,
pub protecting: bool,
pub ifaces: BTreeSet<String>,
pub endpoints: BTreeSet<Endpoint>,
pub unattributed: bool,
pub invocation: Option<String>,
pub ended: bool,
pub unknown: bool,
}Expand description
A unit’s footprint as the files carry it.
Fields§
§at: u64When it was last confirmed, in crate::CLOCK seconds.
protecting: bool§ifaces: BTreeSet<String>§endpoints: BTreeSet<Endpoint>§unattributed: boolA lost event may have touched this unit.
invocation: Option<String>The unit’s latest systemd InvocationID netwatch has seen (32
lowercase hex), from its cgroup’s trusted.invocation_id.
ended: boolThat invocation’s cgroup is gone and the ring was drained after: nothing it did is still to come (crate docs, “The hold’s order”).
unknown: boolA new invocation’s cgroup exists but its id is not read yet:
protecting unknown (and protecting is true: fail closed).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Footprint
impl<'de> Deserialize<'de> for Footprint
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 Footprint
impl StructuralPartialEq for Footprint
Auto Trait Implementations§
impl Freeze for Footprint
impl RefUnwindSafe for Footprint
impl Send for Footprint
impl Sync for Footprint
impl Unpin for Footprint
impl UnsafeUnpin for Footprint
impl UnwindSafe for Footprint
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