pub struct MdpCompareBwFtraceEvent {
pub new_ab: Option<u64>,
pub new_ib: Option<u64>,
pub new_wb: Option<u64>,
pub old_ab: Option<u64>,
pub old_ib: Option<u64>,
pub old_wb: Option<u64>,
pub params_changed: Option<u32>,
pub update_bw: Option<u32>,
}
Fields§
§new_ab: Option<u64>
§new_ib: Option<u64>
§new_wb: Option<u64>
§old_ab: Option<u64>
§old_ib: Option<u64>
§old_wb: Option<u64>
§params_changed: Option<u32>
§update_bw: Option<u32>
Implementations§
Source§impl MdpCompareBwFtraceEvent
impl MdpCompareBwFtraceEvent
Sourcepub fn new_ab(&self) -> u64
pub fn new_ab(&self) -> u64
Returns the value of new_ab
, or the default value if new_ab
is unset.
Sourcepub fn new_ib(&self) -> u64
pub fn new_ib(&self) -> u64
Returns the value of new_ib
, or the default value if new_ib
is unset.
Sourcepub fn new_wb(&self) -> u64
pub fn new_wb(&self) -> u64
Returns the value of new_wb
, or the default value if new_wb
is unset.
Sourcepub fn old_ab(&self) -> u64
pub fn old_ab(&self) -> u64
Returns the value of old_ab
, or the default value if old_ab
is unset.
Sourcepub fn old_ib(&self) -> u64
pub fn old_ib(&self) -> u64
Returns the value of old_ib
, or the default value if old_ib
is unset.
Sourcepub fn old_wb(&self) -> u64
pub fn old_wb(&self) -> u64
Returns the value of old_wb
, or the default value if old_wb
is unset.
Sourcepub fn params_changed(&self) -> u32
pub fn params_changed(&self) -> u32
Returns the value of params_changed
, or the default value if params_changed
is unset.
Trait Implementations§
Source§impl Clone for MdpCompareBwFtraceEvent
impl Clone for MdpCompareBwFtraceEvent
Source§fn clone(&self) -> MdpCompareBwFtraceEvent
fn clone(&self) -> MdpCompareBwFtraceEvent
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 MdpCompareBwFtraceEvent
impl Debug for MdpCompareBwFtraceEvent
Source§impl Default for MdpCompareBwFtraceEvent
impl Default for MdpCompareBwFtraceEvent
Source§impl Message for MdpCompareBwFtraceEvent
impl Message for MdpCompareBwFtraceEvent
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 MdpCompareBwFtraceEvent
impl PartialEq for MdpCompareBwFtraceEvent
impl StructuralPartialEq for MdpCompareBwFtraceEvent
Auto Trait Implementations§
impl Freeze for MdpCompareBwFtraceEvent
impl RefUnwindSafe for MdpCompareBwFtraceEvent
impl Send for MdpCompareBwFtraceEvent
impl Sync for MdpCompareBwFtraceEvent
impl Unpin for MdpCompareBwFtraceEvent
impl UnwindSafe for MdpCompareBwFtraceEvent
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