Struct stream_cancel::ValveHandle [−][src]
pub struct ValveHandle(_);
A handle to a wrapped stream.
Methods
impl ValveHandle
[src]
impl ValveHandle
pub fn close(self)
[src]
pub fn close(self)
Close the valve for the associated stream, and make it immediately yield None
.
Trait Implementations
impl Debug for ValveHandle
[src]
impl Debug for ValveHandle
Auto Trait Implementations
impl Send for ValveHandle
impl Send for ValveHandle
impl Sync for ValveHandle
impl Sync for ValveHandle