Enum takuzu::SourceError
[−]
[src]
pub enum SourceError { IO(IOError), Parsing(GridParseError), }
An error returned by the source
method when either reading or parsing failed.
Variants
IO(IOError)
Reading from the source failed.
Parsing(GridParseError)
Parsing failed.
Trait Implementations
impl Debug for SourceError
[src]
impl Display for SourceError
[src]
impl Error for SourceError
[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more
impl From<IOError> for SourceError
[src]
impl From<GridParseError> for SourceError
[src]
fn from(err: GridParseError) -> Self
Performs the conversion.