pub struct F2fsGcEndFtraceEvent {
pub dev: Option<u64>,
pub ret: Option<i32>,
pub seg_freed: Option<i32>,
pub sec_freed: Option<i32>,
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>,
}
Fields§
§dev: Option<u64>
§ret: Option<i32>
§seg_freed: Option<i32>
§sec_freed: Option<i32>
§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>
Implementations§
Source§impl F2fsGcEndFtraceEvent
impl F2fsGcEndFtraceEvent
Sourcepub fn seg_freed(&self) -> i32
pub fn seg_freed(&self) -> i32
Returns the value of seg_freed
, or the default value if seg_freed
is unset.
Sourcepub fn sec_freed(&self) -> i32
pub fn sec_freed(&self) -> i32
Returns the value of sec_freed
, or the default value if sec_freed
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.
Trait Implementations§
Source§impl Clone for F2fsGcEndFtraceEvent
impl Clone for F2fsGcEndFtraceEvent
Source§fn clone(&self) -> F2fsGcEndFtraceEvent
fn clone(&self) -> F2fsGcEndFtraceEvent
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for F2fsGcEndFtraceEvent
impl Debug for F2fsGcEndFtraceEvent
Source§impl Default for F2fsGcEndFtraceEvent
impl Default for F2fsGcEndFtraceEvent
Source§impl Message for F2fsGcEndFtraceEvent
impl Message for F2fsGcEndFtraceEvent
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Encodes the message to a buffer. Read more
Source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
Encodes the message to a newly allocated buffer.
Source§fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Encodes the message with a length-delimiter to a buffer. Read more
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,
Encodes the message with a length-delimiter to a newly allocated buffer.
Source§fn decode<B>(buf: B) -> Result<Self, DecodeError>
fn decode<B>(buf: B) -> Result<Self, DecodeError>
Decodes an instance of the message from a buffer. Read more
Source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
Decodes a length-delimited instance of the message from the buffer.
Source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
Decodes an instance of the message from a buffer, and merges it into
self
. Read moreSource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
Decodes a length-delimited instance of the message from buffer, and
merges it into
self
.Source§impl PartialEq for F2fsGcEndFtraceEvent
impl PartialEq for F2fsGcEndFtraceEvent
impl StructuralPartialEq for F2fsGcEndFtraceEvent
Auto Trait Implementations§
impl Freeze for F2fsGcEndFtraceEvent
impl RefUnwindSafe for F2fsGcEndFtraceEvent
impl Send for F2fsGcEndFtraceEvent
impl Sync for F2fsGcEndFtraceEvent
impl Unpin for F2fsGcEndFtraceEvent
impl UnwindSafe for F2fsGcEndFtraceEvent
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