Struct gmime::StreamMem[]

pub struct StreamMem(_, _);
[]

A memory-backed Stream.

Implements

StreamMemExt, StreamExt

Methods

impl StreamMem
[src]
[]

[]

Creates a new StreamMem object.

Returns

a new memory stream.

[]

Creates a new StreamMem object and initializes the stream contents with the first len bytes of buffer.

buffer

stream data

len

buffer length

Returns

a new memory stream initialized with buffer.

Trait Implementations

impl Clone for StreamMem
[+]

[]

Returns a copy of the value. Read more

[]

Performs copy-assignment from source. Read more

impl Debug for StreamMem
[+]

[]

Formats the value using the given formatter. Read more

impl Hash for StreamMem
[+]

[]

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

[]

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

impl StaticType for StreamMem
[+]

[]

Returns the type identifier of Self.

impl<T: IsA<Object>> PartialEq<T> for StreamMem
[+]

[]

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

[]

This method tests for !=.

impl Eq for StreamMem

impl IsA<Stream> for StreamMem

impl IsA<Object> for StreamMem

impl Default for StreamMem
[src]
[+]

[]

Returns the "default value" for a type. Read more

Auto Trait Implementations

impl !Send for StreamMem

impl !Sync for StreamMem