Enum foundry::error::FileParsingErrorKind [−][src]
pub enum FileParsingErrorKind { UnknownFormat, IoError, IncompleteFile, RuleParsingError, CoordParsingError, OutOfBoundCoords(GridErrorKind), }
Represents the possible errors which can occur when manipulating a life file.
Variants
UnknownFormat
IoError
IncompleteFile
RuleParsingError
CoordParsingError
OutOfBoundCoords(GridErrorKind)
Trait Implementations
impl Debug for FileParsingErrorKind
[src]
impl Debug for FileParsingErrorKind
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Display for FileParsingErrorKind
[src]
impl Display for FileParsingErrorKind
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Error for FileParsingErrorKind
[src]
impl Error for FileParsingErrorKind
fn description(&self) -> &str
[src]
fn description(&self) -> &str
This method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>
[src]
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more
impl From<Error> for FileParsingErrorKind
[src]
impl From<Error> for FileParsingErrorKind
fn from(_: Error) -> FileParsingErrorKind
[src]
fn from(_: Error) -> FileParsingErrorKind
Performs the conversion.
impl From<ParseIntError> for FileParsingErrorKind
[src]
impl From<ParseIntError> for FileParsingErrorKind
fn from(_: ParseIntError) -> FileParsingErrorKind
[src]
fn from(_: ParseIntError) -> FileParsingErrorKind
Performs the conversion.
impl From<GridErrorKind> for FileParsingErrorKind
[src]
impl From<GridErrorKind> for FileParsingErrorKind
fn from(err: GridErrorKind) -> FileParsingErrorKind
[src]
fn from(err: GridErrorKind) -> FileParsingErrorKind
Performs the conversion.
Auto Trait Implementations
impl Send for FileParsingErrorKind
impl Send for FileParsingErrorKind
impl Sync for FileParsingErrorKind
impl Sync for FileParsingErrorKind