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§fn default() -> F2fsGcBeginFtraceEvent
fn default() -> F2fsGcBeginFtraceEvent
Source§impl Message for F2fsGcBeginFtraceEvent
impl Message for F2fsGcBeginFtraceEvent
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 F2fsGcBeginFtraceEvent
impl PartialEq for F2fsGcBeginFtraceEvent
impl Copy for F2fsGcBeginFtraceEvent
impl StructuralPartialEq for F2fsGcBeginFtraceEvent
Auto Trait Implementations§
impl Freeze for F2fsGcBeginFtraceEvent
impl RefUnwindSafe for F2fsGcBeginFtraceEvent
impl Send for F2fsGcBeginFtraceEvent
impl Sync for F2fsGcBeginFtraceEvent
impl Unpin for F2fsGcBeginFtraceEvent
impl UnwindSafe for F2fsGcBeginFtraceEvent
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].