Trait ore::future::OreSinkExt [−][src]
pub trait OreSinkExt<T>: Sink<T> {
fn boxed(self) -> Box<dyn Sink<T, Error = Self::Error> + Send>
where
Self: Sized + Send + 'static,
{ ... }
fn enqueue(&mut self, item: T) -> Enqueue<'_, Self, T>ⓘ { ... }
}
This is supported on crate feature
network
only.Expand description
Extension methods for sinks.
Provided methods
Boxes this sink.
Like futures::sink::SinkExt::send
, but does not flush the sink after enqueuing
item
.