Struct gmime::StreamFile[]

pub struct StreamFile(_, _);

A Stream wrapper around standard-c FILE pointers.

Implements

StreamFileExt, StreamExt

Methods

impl StreamFile
[src]

Creates a new StreamFile object for the specified path.

path

the path to a file

mode

as in fopen(3)

Returns

a stream using for reading and/or writing to the specified file path or None on error.

Trait Implementations

impl Clone for StreamFile

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for StreamFile

Formats the value using the given formatter. Read more

impl Hash for StreamFile

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl StaticType for StreamFile

Returns the type identifier of Self.

impl<T: IsA<Object>> PartialEq<T> for StreamFile

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for StreamFile

impl IsA<Stream> for StreamFile

impl IsA<Object> for StreamFile

Auto Trait Implementations

impl !Send for StreamFile

impl !Sync for StreamFile