irox_stats::streams

Trait ValueOperation

Source
pub trait ValueOperation<'a, T> {
    // Required method
    fn encode(&'a mut self, value: &T) -> Result<T, Error>;
}

Required Methods§

Source

fn encode(&'a mut self, value: &T) -> Result<T, Error>

Implementors§

Source§

impl<'a, T: Sub<T, Output = T> + Copy> ValueOperation<'a, T> for DeltaOperation<T>

Source§

impl<'a, T: Sub<T, Output = T> + Copy> ValueOperation<'a, T> for VByteOperation