pub struct F2fsGcBeginFtraceEvent {Show 13 fields
pub dev: Option<u64>,
pub sync: Option<u32>,
pub background: Option<u32>,
pub dirty_nodes: Option<i64>,
pub dirty_dents: Option<i64>,
pub dirty_imeta: Option<i64>,
pub free_sec: Option<u32>,
pub free_seg: Option<u32>,
pub reserved_seg: Option<i32>,
pub prefree_seg: Option<u32>,
pub gc_type: Option<i32>,
pub no_bg_gc: Option<u32>,
pub nr_free_secs: Option<u32>,
}Fields§
§dev: Option<u64>§sync: Option<u32>§background: Option<u32>§dirty_nodes: Option<i64>§dirty_dents: Option<i64>§dirty_imeta: Option<i64>§free_sec: Option<u32>§free_seg: Option<u32>§reserved_seg: Option<i32>§prefree_seg: Option<u32>§gc_type: Option<i32>§no_bg_gc: Option<u32>§nr_free_secs: Option<u32>Implementations§
Source§impl F2fsGcBeginFtraceEvent
impl F2fsGcBeginFtraceEvent
Sourcepub fn background(&self) -> u32
pub fn background(&self) -> u32
Returns the value of background, or the default value if background is unset.
Sourcepub fn dirty_nodes(&self) -> i64
pub fn dirty_nodes(&self) -> i64
Returns the value of dirty_nodes, or the default value if dirty_nodes is unset.
Sourcepub fn dirty_dents(&self) -> i64
pub fn dirty_dents(&self) -> i64
Returns the value of dirty_dents, or the default value if dirty_dents is unset.
Sourcepub fn dirty_imeta(&self) -> i64
pub fn dirty_imeta(&self) -> i64
Returns the value of dirty_imeta, or the default value if dirty_imeta is unset.
Sourcepub fn free_sec(&self) -> u32
pub fn free_sec(&self) -> u32
Returns the value of free_sec, or the default value if free_sec is unset.
Sourcepub fn free_seg(&self) -> u32
pub fn free_seg(&self) -> u32
Returns the value of free_seg, or the default value if free_seg is unset.
Sourcepub fn reserved_seg(&self) -> i32
pub fn reserved_seg(&self) -> i32
Returns the value of reserved_seg, or the default value if reserved_seg is unset.
Sourcepub fn prefree_seg(&self) -> u32
pub fn prefree_seg(&self) -> u32
Returns the value of prefree_seg, or the default value if prefree_seg is unset.
Sourcepub fn gc_type(&self) -> i32
pub fn gc_type(&self) -> i32
Returns the value of gc_type, or the default value if gc_type is unset.
Sourcepub fn no_bg_gc(&self) -> u32
pub fn no_bg_gc(&self) -> u32
Returns the value of no_bg_gc, or the default value if no_bg_gc is unset.
Sourcepub fn nr_free_secs(&self) -> u32
pub fn nr_free_secs(&self) -> u32
Returns the value of nr_free_secs, or the default value if nr_free_secs is unset.
Trait Implementations§
Source§impl Clone for F2fsGcBeginFtraceEvent
impl Clone for F2fsGcBeginFtraceEvent
Source§fn clone(&self) -> F2fsGcBeginFtraceEvent
fn clone(&self) -> F2fsGcBeginFtraceEvent
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for F2fsGcBeginFtraceEvent
impl Debug for F2fsGcBeginFtraceEvent
Source§impl Default for F2fsGcBeginFtraceEvent
impl Default for F2fsGcBeginFtraceEvent
Source§impl Message for F2fsGcBeginFtraceEvent
impl Message for F2fsGcBeginFtraceEvent
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
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<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
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<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
fn decode<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
Source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
Source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
self. Read moreSource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
self.