pub enum FilterMatch {
Hit,
Prefix,
Suffix,
Miss,
}Expand description
Classification describing how a filter string matches a path.
Variants§
Hit
The filter exactly matches the path.
Prefix
The filter matches a prefix of the path.
Suffix
The filter matches a suffix of the path.
Miss
The filter does not match the path.
Trait Implementations§
Source§impl Debug for FilterMatch
impl Debug for FilterMatch
Source§impl PartialEq for FilterMatch
impl PartialEq for FilterMatch
impl StructuralPartialEq for FilterMatch
Auto Trait Implementations§
impl Freeze for FilterMatch
impl RefUnwindSafe for FilterMatch
impl Send for FilterMatch
impl Sync for FilterMatch
impl Unpin for FilterMatch
impl UnsafeUnpin for FilterMatch
impl UnwindSafe for FilterMatch
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