pub struct MessageOption<'a> { /* private fields */ }

Trait Implementations

Numeric option number Read more
Obtain the option’s raw value Read more
Obtain the option’s value as a text string, or None if the option contains invalid UTF-8. Read more
Obtain the option’s value as a number following the uint value format, or None if the option is too long. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.