Boxes this sink.
(self)
| 359 | pub trait OreSinkExt<T>: Sink<T> { |
| 360 | /// Boxes this sink. |
| 361 | fn boxed(self) -> Box<dyn Sink<T, Error = Self::Error> + Send> |
| 362 | where |
| 363 | Self: Sized + Send + 'static, |
| 364 | { |
| 365 | Box::new(self) |
| 366 | } |
| 367 | |
| 368 | /// Like [`futures::sink::SinkExt::send`], but does not flush the sink after enqueuing |
| 369 | /// `item`. |
no outgoing calls