Enum jj_lib::str_util::StringPatternParseError
source · pub enum StringPatternParseError {
InvalidKind(String),
GlobPattern(PatternError),
}
Expand description
Error occurred during pattern string parsing.
Variants§
InvalidKind(String)
Unknown pattern kind is specified.
GlobPattern(PatternError)
Failed to parse glob pattern.
Trait Implementations§
source§impl Debug for StringPatternParseError
impl Debug for StringPatternParseError
source§impl Display for StringPatternParseError
impl Display for StringPatternParseError
source§impl Error for StringPatternParseError
impl Error for StringPatternParseError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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()
Auto Trait Implementations§
impl RefUnwindSafe for StringPatternParseError
impl Send for StringPatternParseError
impl Sync for StringPatternParseError
impl Unpin for StringPatternParseError
impl UnwindSafe for StringPatternParseError
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