pub enum CounterRequest {
GetInspectVmo {
responder: CounterGetInspectVmoResponder,
},
UpdateInspectVmo {
responder: CounterUpdateInspectVmoResponder,
},
}
Expand description
Protocol for retrieving kcounter information.
Variants§
GetInspectVmo
Retrives a VMO containining summarized kcounter data. The vmo returned
in buffer
is in “inspect-vmo” format, documented elsewhere.
Fields
§
responder: CounterGetInspectVmoResponder
UpdateInspectVmo
Request that the previously-returned VMO buffer’s data be updated. The data may not be updated if it was already recently updated (updates are limited to an unspecified rate, but approximately every few seconds).
Fields
§
responder: CounterUpdateInspectVmoResponder
Implementations§
source§impl CounterRequest
impl CounterRequest
pub fn into_get_inspect_vmo(self) -> Option<CounterGetInspectVmoResponder>
pub fn into_update_inspect_vmo(self) -> Option<CounterUpdateInspectVmoResponder>
sourcepub fn method_name(&self) -> &'static str
pub fn method_name(&self) -> &'static str
Name of the method defined in FIDL
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CounterRequest
impl !RefUnwindSafe for CounterRequest
impl Send for CounterRequest
impl Sync for CounterRequest
impl Unpin for CounterRequest
impl !UnwindSafe for CounterRequest
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