pub struct FilterBlockReader { /* private fields */ }
Implementations§
Source§impl FilterBlockReader
impl FilterBlockReader
Sourcepub fn new(policy: Box<dyn FilterPolicy>, contents: &Slice) -> Self
pub fn new(policy: Box<dyn FilterPolicy>, contents: &Slice) -> Self
| REQUIRES: “contents” and *policy must | stay live while *this is live. |
pub fn key_may_match(&mut self, block_offset: u64, key_: &Slice) -> bool
Auto Trait Implementations§
impl Freeze for FilterBlockReader
impl !RefUnwindSafe for FilterBlockReader
impl !Send for FilterBlockReader
impl !Sync for FilterBlockReader
impl Unpin for FilterBlockReader
impl !UnwindSafe for FilterBlockReader
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