pub struct Usage {
pub operation: &'static str,
pub feature: Feature,
pub elapsed: Duration,
pub ok: bool,
}Expand description
One call, as metering sees it.
Fields§
§operation: &'static str§feature: Feature§elapsed: Duration§ok: boolWhether the operation succeeded.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Usage
impl Freeze for Usage
impl RefUnwindSafe for Usage
impl Send for Usage
impl Sync for Usage
impl Unpin for Usage
impl UnsafeUnpin for Usage
impl UnwindSafe for Usage
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