Enum gazetta_core::error::SourceError
[−]
[src]
pub enum SourceError {
Parse(ScanError),
Read(Error),
Config(Cow<'static, str>),
}Variants
Parse(ScanError)Read(Error)Config(Cow<'static, str>)
Trait Implementations
impl Debug for SourceError[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl Error for SourceError[src]
fn description(&self) -> &str[src]
A short description of the error. Read more
fn cause(&self) -> Option<&Error>[src]
The lower-level cause of this error, if any. Read more
impl Display for SourceError[src]
fn fmt(&self, f: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl From<Error> for SourceError[src]
fn from(e: Error) -> SourceError[src]
Performs the conversion.
impl From<ParseError> for SourceError[src]
fn from(e: ParseError) -> SourceError[src]
Performs the conversion.
impl From<ScanError> for SourceError[src]
fn from(e: ScanError) -> SourceError[src]
Performs the conversion.
impl From<PatternError> for SourceError[src]
fn from(_: PatternError) -> SourceError[src]
Performs the conversion.
impl From<&'static str> for SourceError[src]
fn from(e: &'static str) -> SourceError[src]
Performs the conversion.
impl From<String> for SourceError[src]
fn from(e: String) -> SourceError[src]
Performs the conversion.