pub struct GeometryMismatch {
pub lhs: (u32, u32),
pub rhs: (u32, u32),
}Expand description
Returned by BloomFilter::union when the two filters were sized
differently. Bit i of one filter has no relationship to bit i of the
other unless m and k match, so the merge is refused rather than
silently producing a filter with false negatives.
Fields§
§lhs: (u32, u32)(bit_count, k) of the filter being merged into.
rhs: (u32, u32)(bit_count, k) of the filter being merged from.
Trait Implementations§
Source§impl Clone for GeometryMismatch
impl Clone for GeometryMismatch
Source§fn clone(&self) -> GeometryMismatch
fn clone(&self) -> GeometryMismatch
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 GeometryMismatch
Source§impl Debug for GeometryMismatch
impl Debug for GeometryMismatch
Source§impl Display for GeometryMismatch
impl Display for GeometryMismatch
impl Eq for GeometryMismatch
Source§impl Error for GeometryMismatch
impl Error for GeometryMismatch
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for GeometryMismatch
impl PartialEq for GeometryMismatch
impl StructuralPartialEq for GeometryMismatch
Auto Trait Implementations§
impl Freeze for GeometryMismatch
impl RefUnwindSafe for GeometryMismatch
impl Send for GeometryMismatch
impl Sync for GeometryMismatch
impl Unpin for GeometryMismatch
impl UnsafeUnpin for GeometryMismatch
impl UnwindSafe for GeometryMismatch
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