Trait mogwai::sink::Sink

source ·
pub trait Sink<Item> {
    fn send(
        &self,
        item: Item
    ) -> Pin<Box<dyn Future<Output = Result<(), SendError>> + Send + '_>>; fn try_send(&self, item: Item) -> Result<(), TrySendError>; }

Required Methods§

Implementations on Foreign Types§

Implementors§