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 StreamCloseFuture
impl Future for StreamCloseFuture type Output = ();
[src]
fn close(&mut self) -> CloseⓘNotable traits for StreamCloseFuture
impl Future for StreamCloseFuture type Output = ();
[src]Close a stream. Returns a future.
Auto Trait Implementations
impl !RefUnwindSafe for CloseStream
impl !Send for CloseStream
impl !Sync for CloseStream
impl Unpin for CloseStream
impl !UnwindSafe for CloseStream