Trait gain::stream::Close [−][src]
pub trait Close {
fn close(&mut self) -> CloseⓘNotable traits for StreamCloseFutureimpl Future for StreamCloseFuture type Output = ();
;
}
Expand description
Stream closer.
Required methods
fn close(&mut self) -> CloseⓘNotable traits for StreamCloseFutureimpl Future for StreamCloseFuture type Output = ();
fn close(&mut self) -> CloseⓘNotable traits for StreamCloseFutureimpl Future for StreamCloseFuture type Output = ();
Notable traits for StreamCloseFuture
impl Future for StreamCloseFuture type Output = ();
Close a stream. Returns a future.