Struct atm_async_utils::SendClose
[−]
[src]
pub struct SendClose<S: Sink>(_);
Future which sends a value down a sink and then closes it.
Methods
impl<S: Sink> SendClose<S>
[src]
pub fn new(sink: S, item: S::SinkItem) -> SendClose<S>
[src]
Create a new SendClose
future that sends the given Item
and then closes the sink.