#[non_exhaustive]pub enum ParseFilterErrorKind {
Empty,
InvalidLevel,
EmptyTarget,
TrailingSeparator,
InvalidTarget,
NotUnicode,
}Available on crate feature
std only.Expand description
What was wrong with a directive passed to Filter::parse.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Empty
The directive was empty or contained only whitespace and commas.
InvalidLevel
A level name was not recognized.
EmptyTarget
A target=level segment had an empty target.
TrailingSeparator
A target ended with ::, : or ., so it could never match.
InvalidTarget
A target contained whitespace.
NotUnicode
The directive came from an environment variable whose value is not valid Unicode.
Trait Implementations§
Source§impl Clone for ParseFilterErrorKind
impl Clone for ParseFilterErrorKind
impl Copy for ParseFilterErrorKind
Source§impl Debug for ParseFilterErrorKind
impl Debug for ParseFilterErrorKind
impl Eq for ParseFilterErrorKind
Source§impl PartialEq for ParseFilterErrorKind
impl PartialEq for ParseFilterErrorKind
impl StructuralPartialEq for ParseFilterErrorKind
Auto Trait Implementations§
impl Freeze for ParseFilterErrorKind
impl RefUnwindSafe for ParseFilterErrorKind
impl Send for ParseFilterErrorKind
impl Sync for ParseFilterErrorKind
impl Unpin for ParseFilterErrorKind
impl UnsafeUnpin for ParseFilterErrorKind
impl UnwindSafe for ParseFilterErrorKind
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