Enum amethyst_config::ConfigError
source · Expand description
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
sourceimpl Debug for ConfigError
impl Debug for ConfigError
sourceimpl Display for ConfigError
impl Display for ConfigError
sourceimpl Error for ConfigError
impl Error for ConfigError
sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
sourcefn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
sourceimpl From<Error> for ConfigError
impl From<Error> for ConfigError
sourcefn from(e: Error) -> ConfigError
fn from(e: Error) -> ConfigError
Converts to this type from the input type.
sourceimpl From<Error> for ConfigError
impl From<Error> for ConfigError
Auto Trait Implementations
impl !RefUnwindSafe for ConfigError
impl Send for ConfigError
impl Sync for ConfigError
impl Unpin for ConfigError
impl !UnwindSafe for ConfigError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more