pub struct NamespaceReport {
pub reference: Option<NsIds>,
pub reference_source: String,
pub sets: Vec<NamespaceSet>,
pub in_reference: usize,
pub unreadable: usize,
}Expand description
All namespace sets of a snapshot.
Fields§
§reference: Option<NsIds>The reference set: oomtop’s own namespaces, else the most common set (a replay without oomtop).
reference_source: String“oomtop” | “most common set”.
sets: Vec<NamespaceSet>Sets differing from the reference, largest memory first.
in_reference: usizeProcesses in the reference set.
unreadable: usizeProcesses whose namespaces could not be read (other users’ processes need root).
Implementations§
Trait Implementations§
Source§impl Clone for NamespaceReport
impl Clone for NamespaceReport
Source§impl Debug for NamespaceReport
impl Debug for NamespaceReport
Source§impl Default for NamespaceReport
impl Default for NamespaceReport
Source§impl<'de> Deserialize<'de> for NamespaceReportwhere
NamespaceReport: Default,
impl<'de> Deserialize<'de> for NamespaceReportwhere
NamespaceReport: Default,
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
Source§impl PartialEq for NamespaceReport
impl PartialEq for NamespaceReport
Source§impl Serialize for NamespaceReport
impl Serialize for NamespaceReport
impl StructuralPartialEq for NamespaceReport
Auto Trait Implementations§
impl Forget for NamespaceReport
impl Freeze for NamespaceReport
impl Move for NamespaceReport
impl RefUnwindSafe for NamespaceReport
impl Send for NamespaceReportwhere
RawVecInner: Send,
impl Sync for NamespaceReportwhere
RawVecInner: Sync,
impl Unpin for NamespaceReport
impl UnsafeUnpin for NamespaceReportwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<NamespaceSet>: UnsafeUnpin,
impl UnwindSafe for NamespaceReportwhere
RawVecInner: UnwindSafe,
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