Trait stream_ext::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§