pub trait FilterInputStreamExt: 'static {
    // Required methods
    fn base_stream(&self) -> InputStream;
    fn closes_base_stream(&self) -> bool;
    fn set_close_base_stream(&self, close_base: bool);
    fn connect_close_base_stream_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
}
Expand description

Required Methods§

source

fn base_stream(&self) -> InputStream

Gets the base stream for the filter stream.

Returns

a InputStream.

source

fn closes_base_stream(&self) -> bool

Returns whether the base stream will be closed when self is closed.

Returns

true if the base stream will be closed.

source

fn set_close_base_stream(&self, close_base: bool)

Sets whether the base stream will be closed when self is closed.

close_base

true to close the base stream.

source

fn connect_close_base_stream_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId

Implementors§