irox_stats::streams

Trait Stream

Source
pub trait Stream<T: Streamable> {
    // Required method
    fn write_value(&mut self, value: T) -> Result<usize, Error>;

    // Provided methods
    fn flush(&mut self) -> Result<(), Error> { ... }
    fn written_stats(&self) -> String { ... }
}

Required Methods§

Source

fn write_value(&mut self, value: T) -> Result<usize, Error>

Provided Methods§

Source

fn flush(&mut self) -> Result<(), Error>

Source

fn written_stats(&self) -> String

Implementors§

Source§

impl Stream<f64> for FloatSplitter

Available on crate features std and miniz only.
Source§

impl Stream<f64> for F64ToU64Stream

Source§

impl Stream<f64> for XorDeltaStream<u64>

Source§

impl Stream<u64> for Rot54Stream

Available on crate features std and miniz only.
Source§

impl<'a> Stream<u64> for EightByteStream<'a>

Available on crate features std and miniz only.
Source§

impl<'a, B: MutBits, T: Streamable> Stream<T> for CompressStream<'a, B>

Available on crate feature miniz only.
Source§

impl<'a, B: MutBits, T: StreamableVByte + WriteToBEBits> Stream<T> for VByteIntStream<'a, B>

Source§

impl<'a, T: Hash + Eq + Streamable, B: MutBits> Stream<T> for GroupCodingStream<'a, T, B>

Available on crate features std and miniz only.
Source§

impl<'a, T: Streamable + Sub<Output = T> + EncodeVByteTo + UpperHex + Sub<T> + NumberSigned, B: MutBits> Stream<T> for VByteDeltaIntStream<'a, T, B>

Source§

impl<D: Streamable, S: Streamable + ZigZag<Output = D>> Stream<S> for ZigZagStream<D>

Source§

impl<S: Streamable + ToSigned<Output = T>, T: Streamable + NumberSigned + Sub<Output = T>> Stream<S> for DeltaStream<T>

Source§

impl<T: Streamable + BitXor<Output = T> + Copy> Stream<T> for XorDeltaStream<T>