pub struct BclIrqTriggerFtraceEvent {
pub id: Option<i32>,
pub throttle: Option<i32>,
pub cpu0_limit: Option<i32>,
pub cpu1_limit: Option<i32>,
pub cpu2_limit: Option<i32>,
pub tpu_limit: Option<i32>,
pub gpu_limit: Option<i32>,
pub voltage: Option<i32>,
pub capacity: Option<i32>,
}
Fields§
§id: Option<i32>
§throttle: Option<i32>
§cpu0_limit: Option<i32>
§cpu1_limit: Option<i32>
§cpu2_limit: Option<i32>
§tpu_limit: Option<i32>
§gpu_limit: Option<i32>
§voltage: Option<i32>
§capacity: Option<i32>
Implementations§
Source§impl BclIrqTriggerFtraceEvent
impl BclIrqTriggerFtraceEvent
Sourcepub fn throttle(&self) -> i32
pub fn throttle(&self) -> i32
Returns the value of throttle
, or the default value if throttle
is unset.
Sourcepub fn cpu0_limit(&self) -> i32
pub fn cpu0_limit(&self) -> i32
Returns the value of cpu0_limit
, or the default value if cpu0_limit
is unset.
Sourcepub fn cpu1_limit(&self) -> i32
pub fn cpu1_limit(&self) -> i32
Returns the value of cpu1_limit
, or the default value if cpu1_limit
is unset.
Sourcepub fn cpu2_limit(&self) -> i32
pub fn cpu2_limit(&self) -> i32
Returns the value of cpu2_limit
, or the default value if cpu2_limit
is unset.
Sourcepub fn tpu_limit(&self) -> i32
pub fn tpu_limit(&self) -> i32
Returns the value of tpu_limit
, or the default value if tpu_limit
is unset.
Sourcepub fn gpu_limit(&self) -> i32
pub fn gpu_limit(&self) -> i32
Returns the value of gpu_limit
, or the default value if gpu_limit
is unset.
Trait Implementations§
Source§impl Clone for BclIrqTriggerFtraceEvent
impl Clone for BclIrqTriggerFtraceEvent
Source§fn clone(&self) -> BclIrqTriggerFtraceEvent
fn clone(&self) -> BclIrqTriggerFtraceEvent
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 BclIrqTriggerFtraceEvent
impl Debug for BclIrqTriggerFtraceEvent
Source§impl Default for BclIrqTriggerFtraceEvent
impl Default for BclIrqTriggerFtraceEvent
Source§impl Message for BclIrqTriggerFtraceEvent
impl Message for BclIrqTriggerFtraceEvent
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 BclIrqTriggerFtraceEvent
impl PartialEq for BclIrqTriggerFtraceEvent
impl StructuralPartialEq for BclIrqTriggerFtraceEvent
Auto Trait Implementations§
impl Freeze for BclIrqTriggerFtraceEvent
impl RefUnwindSafe for BclIrqTriggerFtraceEvent
impl Send for BclIrqTriggerFtraceEvent
impl Sync for BclIrqTriggerFtraceEvent
impl Unpin for BclIrqTriggerFtraceEvent
impl UnwindSafe for BclIrqTriggerFtraceEvent
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