Trait gmime::StreamFileExt[][src]

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

Trait containing all StreamFile methods.

Implementors

StreamFile

Required Methods

Gets whether or not self owns the backend FILE pointer.

Returns

true if self owns the backend FILE pointer or false otherwise.

Sets whether or not self owns the backend FILE pointer.

Note: owner should be true if the stream should fclose the backend FILE pointer when destroyed or false otherwise.

owner

true if this stream should own the FILE pointer or false otherwise

Implementors