pub enum CountersRequest {
Get {
responder: CountersGetResponder,
},
Reset {
responder: CountersResetResponder,
},
}
Variants§
Get
Fields
§
responder: CountersGetResponder
Returns a snapshot of the counters without resetting the counters.
Reset
Fields
§
responder: CountersResetResponder
Resets all of the counters to zero returning the counter values immediately prior.
Implementations§
source§impl CountersRequest
impl CountersRequest
pub fn into_get(self) -> Option<CountersGetResponder>
pub fn into_reset(self) -> Option<CountersResetResponder>
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 !RefUnwindSafe for CountersRequest
impl Send for CountersRequest
impl Sync for CountersRequest
impl Unpin for CountersRequest
impl !UnwindSafe for CountersRequest
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