pub struct F2fsLockElapsedTimeFtraceEvent {Show 13 fields
pub dev: Option<u64>,
pub comm: Option<String>,
pub pid: Option<i32>,
pub prio: Option<i32>,
pub ioprio_class: Option<i32>,
pub ioprio_data: Option<i32>,
pub lock_name: Option<u32>,
pub is_write: Option<u32>,
pub total_time: Option<u64>,
pub running_time: Option<u64>,
pub runnable_time: Option<u64>,
pub io_sleep_time: Option<u64>,
pub other_time: Option<u64>,
}Fields§
§dev: Option<u64>§comm: Option<String>§pid: Option<i32>§prio: Option<i32>§ioprio_class: Option<i32>§ioprio_data: Option<i32>§lock_name: Option<u32>§is_write: Option<u32>§total_time: Option<u64>§running_time: Option<u64>§runnable_time: Option<u64>§io_sleep_time: Option<u64>§other_time: Option<u64>Implementations§
Source§impl F2fsLockElapsedTimeFtraceEvent
impl F2fsLockElapsedTimeFtraceEvent
Sourcepub fn ioprio_class(&self) -> i32
pub fn ioprio_class(&self) -> i32
Returns the value of ioprio_class, or the default value if ioprio_class is unset.
Sourcepub fn ioprio_data(&self) -> i32
pub fn ioprio_data(&self) -> i32
Returns the value of ioprio_data, or the default value if ioprio_data is unset.
Sourcepub fn lock_name(&self) -> u32
pub fn lock_name(&self) -> u32
Returns the value of lock_name, or the default value if lock_name is unset.
Sourcepub fn is_write(&self) -> u32
pub fn is_write(&self) -> u32
Returns the value of is_write, or the default value if is_write is unset.
Sourcepub fn total_time(&self) -> u64
pub fn total_time(&self) -> u64
Returns the value of total_time, or the default value if total_time is unset.
Sourcepub fn running_time(&self) -> u64
pub fn running_time(&self) -> u64
Returns the value of running_time, or the default value if running_time is unset.
Sourcepub fn runnable_time(&self) -> u64
pub fn runnable_time(&self) -> u64
Returns the value of runnable_time, or the default value if runnable_time is unset.
Sourcepub fn io_sleep_time(&self) -> u64
pub fn io_sleep_time(&self) -> u64
Returns the value of io_sleep_time, or the default value if io_sleep_time is unset.
Sourcepub fn other_time(&self) -> u64
pub fn other_time(&self) -> u64
Returns the value of other_time, or the default value if other_time is unset.
Trait Implementations§
Source§impl Clone for F2fsLockElapsedTimeFtraceEvent
impl Clone for F2fsLockElapsedTimeFtraceEvent
Source§fn clone(&self) -> F2fsLockElapsedTimeFtraceEvent
fn clone(&self) -> F2fsLockElapsedTimeFtraceEvent
Returns a duplicate 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 Message for F2fsLockElapsedTimeFtraceEvent
impl Message for F2fsLockElapsedTimeFtraceEvent
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>where
B: BufMut,
Self: Sized,
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
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>where
B: BufMut,
Self: Sized,
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
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>where
B: Buf,
Self: Default,
fn decode<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
Decodes an instance of the message from a buffer. Read more
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,
Decodes a length-delimited instance of the message from the buffer.
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,
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>where
B: Buf,
Self: Sized,
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
Decodes a length-delimited instance of the message from buffer, and
merges it into
self.Source§impl PartialEq for F2fsLockElapsedTimeFtraceEvent
impl PartialEq for F2fsLockElapsedTimeFtraceEvent
Source§fn eq(&self, other: &F2fsLockElapsedTimeFtraceEvent) -> bool
fn eq(&self, other: &F2fsLockElapsedTimeFtraceEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for F2fsLockElapsedTimeFtraceEvent
Auto Trait Implementations§
impl Freeze for F2fsLockElapsedTimeFtraceEvent
impl RefUnwindSafe for F2fsLockElapsedTimeFtraceEvent
impl Send for F2fsLockElapsedTimeFtraceEvent
impl Sync for F2fsLockElapsedTimeFtraceEvent
impl Unpin for F2fsLockElapsedTimeFtraceEvent
impl UnwindSafe for F2fsLockElapsedTimeFtraceEvent
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