Enum device_tree_source::include::BoundsError [] [src]

pub enum BoundsError {
    NotWithinBounds,
    IOError(ErrorOption<PathBuf>),
    ParseError(ParseError),
}

Defines errors from manipulating IncludeBounds.

Variants

The given offset was not within the collection of bounds or single IncludeBounds.

Some IO Error. Probably from trying to open a file. May include the path trying to be opened.

Some ParseError. Probably from a failed attempt to convert from lines to byte offsets.

Trait Implementations

impl Debug for BoundsError
[src]

Formats the value using the given formatter.

impl From<Error> for BoundsError
[src]

Performs the conversion.

impl From<ParseError> for BoundsError
[src]

Performs the conversion.