Enum serde_url_params::Error[][src]

pub enum Error {
    Extern(Box<Error>),
    Unsupported(String),
    Custom(String),
}

Represents all possible errors that can occur when serializing into URL parameters.

Variants

External error caused by e.g. utf8 string conversion or io.

Error when tried to serialize an unsupported type.

Custom error caused by any error while serializing a type.

Methods

impl Error
[src]

Creates a new error when a type is not supported for serializing into URL parameters.

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter. Read more

impl Display for Error
[src]

Formats the value using the given formatter. Read more

impl Error for Error
[src]

This method is soft-deprecated. Read more

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

impl Error for Error
[src]

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

impl From<Error> for Error
[src]

Performs the conversion.

impl From<FromUtf8Error> for Error
[src]

Performs the conversion.

Auto Trait Implementations

impl !Send for Error

impl !Sync for Error