[−][src]Enum globset::ErrorKind
The kind of error that can occur when parsing a glob pattern.
Variants
InvalidRecursiveDEPRECATED.
This error used to occur for consistency with git's glob specification,
but the specification now accepts all uses of **. When ** does not
appear adjacent to a path separator or at the beginning/end of a glob,
it is now treated as two consecutive * patterns. As such, this error
is no longer used.
UnclosedClassOccurs when a character class (e.g., [abc]) is not closed.
InvalidRange(char, char)Occurs when a range in a character (e.g., [a-z]) is invalid. For
example, if the range starts with a lexicographically larger character
than it ends with.
UnopenedAlternatesOccurs when a } is found without a matching {.
UnclosedAlternatesOccurs when a { is found without a matching }.
NestedAlternatesOccurs when an alternating group is nested inside another alternating
group, e.g., {{a,b},{c,d}}.
DanglingEscapeOccurs when an unescaped '' is found at the end of a glob.
Regex(String)An error associated with parsing or compiling a regex.
Trait Implementations
impl PartialEq<ErrorKind> for ErrorKind[src]
impl Eq for ErrorKind[src]
impl Clone for ErrorKind[src]
fn clone(&self) -> ErrorKind[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Debug for ErrorKind[src]
impl Display for ErrorKind[src]
Auto Trait Implementations
impl Send for ErrorKind
impl Unpin for ErrorKind
impl Sync for ErrorKind
impl UnwindSafe for ErrorKind
impl RefUnwindSafe for ErrorKind
Blanket Implementations
impl<T> ToString for T where
T: Display + ?Sized, [src]
T: Display + ?Sized,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,