Enum from_as::FromAsError
source · pub enum FromAsError {
Io(Error),
SerdeJsonError(Error),
SerdeYamlError(Error),
TomlDeError(Error),
TomlSerError(Error),
}
Variants§
Implementations§
source§impl FromAsError
impl FromAsError
pub fn invalid_extension(ext: &OsStr) -> FromAsError
Trait Implementations§
source§impl Debug for FromAsError
impl Debug for FromAsError
source§impl Display for FromAsError
impl Display for FromAsError
source§impl Error for FromAsError
impl Error for FromAsError
source§fn source<'a>(&'a self) -> Option<&'a (dyn Error + 'static)>
fn source<'a>(&'a self) -> Option<&'a (dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<Error> for FromAsError
impl From<Error> for FromAsError
source§fn from(err: Error) -> FromAsError
fn from(err: Error) -> FromAsError
Converts to this type from the input type.
source§impl From<Error> for FromAsError
impl From<Error> for FromAsError
source§fn from(err: Error) -> FromAsError
fn from(err: Error) -> FromAsError
Converts to this type from the input type.
source§impl From<Error> for FromAsError
impl From<Error> for FromAsError
source§fn from(err: Error) -> FromAsError
fn from(err: Error) -> FromAsError
Converts to this type from the input type.
source§impl From<Error> for FromAsError
impl From<Error> for FromAsError
source§fn from(err: Error) -> FromAsError
fn from(err: Error) -> FromAsError
Converts to this type from the input type.
source§impl From<Error> for FromAsError
impl From<Error> for FromAsError
source§fn from(err: Error) -> FromAsError
fn from(err: Error) -> FromAsError
Converts to this type from the input type.