Struct prost::EncodeError [] [src]

pub struct EncodeError { /* fields omitted */ }

A Protobuf message encoding error.

EncodeError always indicates that a message failed to encode because the provided buffer had insufficient capacity. Message encoding is otherwise infallible.

Methods

impl EncodeError
[src]

[src]

Returns the required buffer capacity to encode the message.

[src]

Returns the remaining length in the provided buffer at the time of encoding.

Trait Implementations

impl Copy for EncodeError
[src]

impl Clone for EncodeError
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for EncodeError
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for EncodeError
[src]

[src]

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

[src]

This method tests for !=.

impl Eq for EncodeError
[src]

impl Display for EncodeError
[src]

[src]

Formats the value using the given formatter. Read more

impl Error for EncodeError
[src]

[src]

A short description of the error. Read more

1.0.0
[src]

The lower-level cause of this error, if any. Read more