pub enum CountersRequest {
Get {
responder: CountersGetResponder,
},
Reset {
responder: CountersResetResponder,
},
}
Variants§
Get
Returns a snapshot of the counters without resetting the counters.
Fields
§
responder: CountersGetResponder
Reset
Resets all of the counters to zero returning the counter values immediately prior.
Fields
§
responder: CountersResetResponder
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 Freeze for CountersRequest
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