Trait FilterInputStreamExt

Source
pub trait FilterInputStreamExt:
    IsA<FilterInputStream>
    + Sealed
    + 'static {
    // Provided 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

Provided Methods§

Source

fn base_stream(&self) -> InputStream

Gets the base stream for the filter stream.

§Returns

a #GInputStream.

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

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§