pub enum NodeSetParseError {
RangeError(RangeStepError),
ParseIntError(ParseIntError),
OverFlow(TryFromIntError),
Command(Error),
Generic(String),
Padding(String),
Source(String),
}Expand description
Errors that may happen when parsing nodesets
Variants§
RangeError(RangeStepError)
An error occurred while parsing an integer.
ParseIntError(ParseIntError)
An error occurred while parsing an integer.
OverFlow(TryFromIntError)
An index is out of range.
Command(Error)
An error occurred while executing an external command as specified in the dynamic configuration file.
Generic(String)
A parsing error which does not fit in any other category.
Padding(String)
Padding sizes at both ends of a range do not match (ie [01-003]).
Source(String)
A reference was made to a group source that does not exist.
Trait Implementations§
Source§impl Debug for NodeSetParseError
impl Debug for NodeSetParseError
Source§impl Display for NodeSetParseError
impl Display for NodeSetParseError
Source§impl Error for NodeSetParseError
impl Error for NodeSetParseError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<Error> for NodeSetParseError
impl From<Error> for NodeSetParseError
Source§impl From<ParseIntError> for NodeSetParseError
impl From<ParseIntError> for NodeSetParseError
Source§fn from(source: ParseIntError) -> Self
fn from(source: ParseIntError) -> Self
Converts to this type from the input type.
Source§impl From<TryFromIntError> for NodeSetParseError
impl From<TryFromIntError> for NodeSetParseError
Source§fn from(source: TryFromIntError) -> Self
fn from(source: TryFromIntError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for NodeSetParseError
impl !RefUnwindSafe for NodeSetParseError
impl Send for NodeSetParseError
impl Sync for NodeSetParseError
impl Unpin for NodeSetParseError
impl !UnwindSafe for NodeSetParseError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more