Enum py_literal::FormatError []

pub enum FormatError {
    Io(Error),
    EmptySet,
}

Error formatting a Python literal.

Variants

An error caused by the writer.

The literal contained an empty set.

There is no literal representation of an empty set in Python. ({} represents an empty dict.)

Trait Implementations

impl Debug for FormatError
[src]

[src]

Formats the value using the given formatter. Read more

impl Display for FormatError

Formats the value using the given formatter. Read more

impl Error for FormatError

A short description of the error. Read more

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

impl From<Error> for FormatError

Performs the conversion.

Auto Trait Implementations

impl Send for FormatError

impl Sync for FormatError