#[repr(i32)]pub enum VmaField {
Show 13 variants
Unknown = 0,
Size = 1,
Rss = 2,
Anonymous = 3,
Swap = 4,
SharedClean = 5,
SharedDirty = 6,
PrivateClean = 7,
PrivateDirty = 8,
Locked = 9,
Pss = 10,
PssDirty = 11,
SwapPss = 12,
}Variants§
Unknown = 0
Size = 1
Rss = 2
Anonymous = 3
Swap = 4
PrivateClean = 7
PrivateDirty = 8
Locked = 9
Pss = 10
PssDirty = 11
SwapPss = 12
Implementations§
Source§impl VmaField
impl VmaField
Sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
Sourcepub fn from_str_name(value: &str) -> Option<Self>
pub fn from_str_name(value: &str) -> Option<Self>
Creates an enum from field names used in the ProtoBuf definition.
Trait Implementations§
Source§impl Ord for VmaField
impl Ord for VmaField
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for VmaField
impl PartialOrd for VmaField
impl Copy for VmaField
impl Eq for VmaField
impl StructuralPartialEq for VmaField
Auto Trait Implementations§
impl Freeze for VmaField
impl RefUnwindSafe for VmaField
impl Send for VmaField
impl Sync for VmaField
impl Unpin for VmaField
impl UnsafeUnpin for VmaField
impl UnwindSafe for VmaField
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