[][src]Enum amethyst_config::ConfigError

pub enum ConfigError {
    File(Error),
    Parser(DeError),
    Serializer(SerError),
    Extension(PathBuf),
}

Error related to anything that manages/creates configurations as well as "workspace"-related things.

Variants

File(Error)

Forward to the std::io::Error error.

Parser(DeError)

Errors related to serde's parsing of configuration files.

Serializer(SerError)

Occurs if a value is ill-formed during serialization (like a poisoned mutex).

Extension(PathBuf)

Related to the path of the file.

Trait Implementations

impl From<Error> for ConfigError[src]

impl From<Error> for ConfigError[src]

impl From<Error> for ConfigError[src]

impl Display for ConfigError[src]

impl Debug for ConfigError[src]

impl Error for ConfigError[src]

fn source(&self) -> Option<&(dyn Error + 'static)>1.30.0[src]

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

Auto Trait Implementations

impl Unpin for ConfigError

impl Sync for ConfigError

impl Send for ConfigError

impl !UnwindSafe for ConfigError

impl !RefUnwindSafe for ConfigError

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]