Struct gmime::DataWrapper[]

pub struct DataWrapper(_, _);
[]

A wrapper for a stream which may be encoded.

Implements

DataWrapperExt

Methods

impl DataWrapper
[src]
[]

[]

Creates a new DataWrapper object.

Returns

a new data wrapper object.

[]

Creates a new DataWrapper object around stream.

stream

a Stream

encoding

stream's encoding

Returns

a data wrapper around stream. Since the wrapper owns its own reference on the stream, caller is responsible for unrefing its own copy.

Trait Implementations

impl Clone for DataWrapper
[+]

[]

Returns a copy of the value. Read more

[]

Performs copy-assignment from source. Read more

impl Debug for DataWrapper
[+]

[]

Formats the value using the given formatter. Read more

impl Hash for DataWrapper
[+]

[]

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

[]

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

impl StaticType for DataWrapper
[+]

[]

Returns the type identifier of Self.

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

[]

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

[]

This method tests for !=.

impl Eq for DataWrapper

impl IsA<Object> for DataWrapper

impl Default for DataWrapper
[src]
[+]

[]

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

Auto Trait Implementations

impl !Send for DataWrapper

impl !Sync for DataWrapper