Skip to main content

UintGaugeExt

Trait UintGaugeExt 

Source
pub trait UintGaugeExt {
    // Required method
    fn inc_guard(&self) -> impl Drop + '_;
}

Required Methods§

Source

fn inc_guard(&self) -> impl Drop + '_

Increment the gauge, and return a guard that will decrement the gauge when dropped.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§