Struct gmime::StreamFs[]

pub struct StreamFs(_, _);

A Stream wrapper around POSIX file descriptors.

Implements

StreamFsExt, StreamExt

Methods

impl StreamFs
[src]

Creates a new StreamFs object around fd.

fd

a file descriptor

Returns

a stream using fd.

Creates a new StreamFs object around fd with bounds start and end.

fd

a file descriptor

start

start boundary

end

end boundary

Returns

a stream using fd with bounds start and end.

Creates a new StreamFs object for the specified path.

path

the path to a file

flags

as in open(2)

mode

as in open(2)

Returns

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

Trait Implementations

impl Clone for StreamFs

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for StreamFs

Formats the value using the given formatter. Read more

impl Hash for StreamFs

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

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

impl StaticType for StreamFs

Returns the type identifier of Self.

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

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

This method tests for !=.

impl Eq for StreamFs

impl IsA<Stream> for StreamFs

impl IsA<Object> for StreamFs

Auto Trait Implementations

impl !Send for StreamFs

impl !Sync for StreamFs