[][src]Struct mqf::MQF

pub struct MQF { /* fields omitted */ }

Methods

impl MQF[src]

pub fn new(counter_size: u64, qbits: u64) -> MQF[src]

pub fn insert(&mut self, key: u64, count: u64)[src]

pub fn count_key(&self, key: u64) -> u64[src]

Important traits for MQFIter
pub fn iter(&mut self) -> MQFIter[src]

pub fn serialize<P: AsRef<Path>>(&self, path: P) -> Result<(), Box<dyn Error>>[src]

pub fn deserialize<P: AsRef<Path>>(path: P) -> Result<MQF, Box<dyn Error>>[src]

pub fn merge(&mut self, other: &mut MQF) -> Result<(), Box<dyn Error>>[src]

Trait Implementations

impl Sync for MQF[src]

impl Drop for MQF[src]

impl Clone for MQF[src]

impl Default for MQF[src]

impl Debug for MQF[src]

Auto Trait Implementations

impl !Send for MQF

impl Unpin for MQF

impl UnwindSafe for MQF

impl RefUnwindSafe for MQF

Blanket Implementations

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.

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

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

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