[][src]Struct sketch_duplicates::DuplicatesSketch

pub struct DuplicatesSketch { /* fields omitted */ }

Implementations

impl DuplicatesSketch[src]

pub fn new(probes: u32, size: usize) -> DuplicatesSketch[src]

pub fn is_compatible(&self, other: &DuplicatesSketch) -> bool[src]

pub fn merge(&mut self, other: &DuplicatesSketch)[src]

pub fn insert(&mut self, buf: &[u8])[src]

pub fn has_duplicate(&self, buf: &[u8]) -> bool[src]

pub fn serialize(&self, file: impl Write) -> Result<()>[src]

pub fn deserialize(file: impl Read) -> Result<Option<DuplicatesSketch>>[src]

Trait Implementations

impl Debug for DuplicatesSketch[src]

impl Eq for DuplicatesSketch[src]

impl PartialEq<DuplicatesSketch> for DuplicatesSketch[src]

impl StructuralEq for DuplicatesSketch[src]

impl StructuralPartialEq for DuplicatesSketch[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.