Enum device_tree_source::include::BoundsError
[−]
[src]
pub enum BoundsError { NotWithinBounds, IOError(Error, Option<PathBuf>), ParseError(ParseError), }
Defines errors from manipulating IncludeBounds
.
Variants
NotWithinBounds
The given offset was not within the collection of bounds or single
IncludeBounds
.
IOError(Error, Option<PathBuf>)
Some IO Error. Probably from trying to open a file. May include the path trying to be opened.
ParseError(ParseError)
Some ParseError
. Probably from a failed attempt to convert from lines
to byte offsets.
Trait Implementations
impl Debug for BoundsError
[src]
impl From<Error> for BoundsError
[src]
impl From<ParseError> for BoundsError
[src]
fn from(err: ParseError) -> Self
Performs the conversion.