pub struct SmapsEntry {Show 15 fields
pub path: Option<String>,
pub size_kb: Option<u64>,
pub private_dirty_kb: Option<u64>,
pub swap_kb: Option<u64>,
pub file_name: Option<String>,
pub start_address: Option<u64>,
pub module_timestamp: Option<u64>,
pub module_debugid: Option<String>,
pub module_debug_path: Option<String>,
pub protection_flags: Option<u32>,
pub private_clean_resident_kb: Option<u64>,
pub shared_dirty_resident_kb: Option<u64>,
pub shared_clean_resident_kb: Option<u64>,
pub locked_kb: Option<u64>,
pub proportional_resident_kb: Option<u64>,
}Fields§
§path: Option<String>§size_kb: Option<u64>§private_dirty_kb: Option<u64>§swap_kb: Option<u64>§file_name: Option<String>for field upload (instead of path).
start_address: Option<u64>TODO(crbug.com/1098746): Consider encoding this as incremental values.
module_timestamp: Option<u64>§module_debugid: Option<String>§module_debug_path: Option<String>§protection_flags: Option<u32>§private_clean_resident_kb: Option<u64>§locked_kb: Option<u64>§proportional_resident_kb: Option<u64>Implementations§
Source§impl SmapsEntry
impl SmapsEntry
Sourcepub fn size_kb(&self) -> u64
pub fn size_kb(&self) -> u64
Returns the value of size_kb, or the default value if size_kb is unset.
Sourcepub fn private_dirty_kb(&self) -> u64
pub fn private_dirty_kb(&self) -> u64
Returns the value of private_dirty_kb, or the default value if private_dirty_kb is unset.
Sourcepub fn swap_kb(&self) -> u64
pub fn swap_kb(&self) -> u64
Returns the value of swap_kb, or the default value if swap_kb is unset.
Sourcepub fn file_name(&self) -> &str
pub fn file_name(&self) -> &str
Returns the value of file_name, or the default value if file_name is unset.
Sourcepub fn start_address(&self) -> u64
pub fn start_address(&self) -> u64
Returns the value of start_address, or the default value if start_address is unset.
Sourcepub fn module_timestamp(&self) -> u64
pub fn module_timestamp(&self) -> u64
Returns the value of module_timestamp, or the default value if module_timestamp is unset.
Sourcepub fn module_debugid(&self) -> &str
pub fn module_debugid(&self) -> &str
Returns the value of module_debugid, or the default value if module_debugid is unset.
Sourcepub fn module_debug_path(&self) -> &str
pub fn module_debug_path(&self) -> &str
Returns the value of module_debug_path, or the default value if module_debug_path is unset.
Sourcepub fn protection_flags(&self) -> u32
pub fn protection_flags(&self) -> u32
Returns the value of protection_flags, or the default value if protection_flags is unset.
Sourcepub fn private_clean_resident_kb(&self) -> u64
pub fn private_clean_resident_kb(&self) -> u64
Returns the value of private_clean_resident_kb, or the default value if private_clean_resident_kb is unset.
Returns the value of shared_dirty_resident_kb, or the default value if shared_dirty_resident_kb is unset.
Returns the value of shared_clean_resident_kb, or the default value if shared_clean_resident_kb is unset.
Sourcepub fn locked_kb(&self) -> u64
pub fn locked_kb(&self) -> u64
Returns the value of locked_kb, or the default value if locked_kb is unset.
Sourcepub fn proportional_resident_kb(&self) -> u64
pub fn proportional_resident_kb(&self) -> u64
Returns the value of proportional_resident_kb, or the default value if proportional_resident_kb is unset.
Trait Implementations§
Source§impl Clone for SmapsEntry
impl Clone for SmapsEntry
Source§fn clone(&self) -> SmapsEntry
fn clone(&self) -> SmapsEntry
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for SmapsEntry
impl Debug for SmapsEntry
Source§impl Default for SmapsEntry
impl Default for SmapsEntry
Source§fn default() -> SmapsEntry
fn default() -> SmapsEntry
Source§impl Message for SmapsEntry
impl Message for SmapsEntry
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self.Source§impl PartialEq for SmapsEntry
impl PartialEq for SmapsEntry
impl StructuralPartialEq for SmapsEntry
Auto Trait Implementations§
impl Freeze for SmapsEntry
impl RefUnwindSafe for SmapsEntry
impl Send for SmapsEntry
impl Sync for SmapsEntry
impl Unpin for SmapsEntry
impl UnwindSafe for SmapsEntry
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Layered].