Enum mustache::EncoderError [] [src]

pub enum EncoderError {
    NestedOptions,
    UnsupportedType,
    MissingElements,
    KeyIsNotString,
    NoDataToEncode,
    Message(String),
    // some variants omitted
}

Error type to represent encoding failure.

This type is not intended to be matched exhaustively as new variants may be added in future without a version bump.

Variants

Trait Implementations

impl Debug for Error
[src]

[src]

Formats the value using the given formatter. Read more

impl Error for Error
[src]

[src]

Used when a [Serialize] implementation encounters any error while serializing a type. Read more

impl Display for Error
[src]

[src]

Formats the value using the given formatter. Read more

impl Error for Error
[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

impl From<Error> for Error
[src]

[src]

Performs the conversion.