Struct gain::stream::CloseStream [−][src]
pub struct CloseStream { /* fields omitted */ }
Expand description
Used to close associated RecvOnlyStream
and/or WriteOnlyStream
.
Trait Implementations
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.