Trait gmime::StreamMemExt[][src]

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

Trait containing all StreamMem methods.

Implementors

StreamMem

Required Methods

Gets whether or not self owns the backend memory buffer.

Returns

true if self owns the backend memory buffer or false otherwise.

Sets whether or not self owns the backend memory buffer.

Note: owner should be true if the stream should free the backend memory buffer when destroyed or false otherwise.

owner

true if this stream should own the glib::ByteArray or false otherwise

Implementors