Trait gmime::StreamGIOExt[][src]

pub trait StreamGIOExt {
    fn get_owner(&self) -> bool;
fn set_owner(&self, owner: bool); }

Trait containing all StreamGIO methods.

Implementors

StreamGIO

Required Methods

Gets whether or not self owns the backend gio::File.

Returns

true if self owns the backend gio::File or false otherwise.

Sets whether or not self owns the backend GIO pointer.

Note: owner should be true if the stream should close the backend file descriptor when destroyed or false otherwise.

owner

true if this stream should own the gio::File or false otherwise

Implementors