#[non_exhaustive]pub enum FilterKind {
Empty,
Bloom,
Unsupported,
}Expand description
What kind of filter a .kvei turned out to be.
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
An empty (0-byte) filter: matches every key.
Bloom
A supported holiman/bloomfilter/v2 bloom filter.
Unsupported
A recognized-but-unsupported encoding (e.g. fuse filter): treated as match-all.
Trait Implementations§
Source§impl Clone for FilterKind
impl Clone for FilterKind
Source§fn clone(&self) -> FilterKind
fn clone(&self) -> FilterKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FilterKind
Source§impl Debug for FilterKind
impl Debug for FilterKind
impl Eq for FilterKind
Source§impl PartialEq for FilterKind
impl PartialEq for FilterKind
impl StructuralPartialEq for FilterKind
Auto Trait Implementations§
impl Freeze for FilterKind
impl RefUnwindSafe for FilterKind
impl Send for FilterKind
impl Sync for FilterKind
impl Unpin for FilterKind
impl UnsafeUnpin for FilterKind
impl UnwindSafe for FilterKind
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