pub fn ack(&mut self, source_id: Source, tuple_id: Tuple) -> Option<()> {
        if let Some(&mut (_, Tuple(ref mut x))) = self.buckets.get_mut(&source_id) {
            *x ^= tuple_id.to_u64();

            Some(())
        } else {
            None
        }
    }
/// XOR the ack value for a given Source and the result is the new ack value.
/// Acking once adds the tuple to the Source, acking it twice removes it.
XOR the ack value for a given Source and the result is the new ack value.
Acking once adds the tuple to the Source, acking it twice removes it.
XOR the ack value for a given Source and the result is the new ack value . Acking once adds the tuple to the Source acking it twice removes it .
pub fn ack(&mut self, source_id: Source, tuple_id: Tuple) -> Option<()> {
        if let Some(&mut (_, Tuple(ref mut x))) = self.buckets.get_mut(&source_id) {
            *x ^= tuple_id.to_u64();
            Some(())
        } else {
            None
        }
    }
pub fn ack ( & mut self , source_id : Source , tuple_id : Tuple ) -> Option < ( ) > { if let Some ( & mut ( _ , Tuple ( ref mut x ) ) ) = self . buckets . get_mut ( & source_id ) { * x ^= tuple_id . to_u64 ( ) ; Some ( ( ) ) } else { None } }
XOR the ack value for a given Source and the result is the new ack value.
XOR the ack value for a given Source and the result is the new ack value .
&mut self
source_id
Source
tuple_id
Tuple