futures_util::sink

Function assert_sink

Source
pub(crate) fn assert_sink<T, E, S>(sink: S) -> S
where S: Sink<T, Error = E>,