Trait gain::stream::Close[][src]

pub trait Close {
    fn close(&mut self) -> Close
Notable traits for StreamCloseFuture
impl Future for StreamCloseFuture type Output = ();
; }
Expand description

Stream closer.

Required methods

Close a stream. Returns a future.

Implementors