Trait Limiter

Source
pub trait Limiter {
    // Required method
    fn acquire(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Option<()>>;
}

Required Methods§

Source

fn acquire(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Option<()>>

Implementors§