Function ntex::util::sink_write [−][src]
pub async fn sink_write<S, I>(
sink: &'_ mut S,
item: I
) -> Result<(), <S as Sink<I>>::Error> where
S: Sink<I> + Unpin,
Expand description
A future that completes after the given item has been fully processed into the sink, including flushing.