Trait canonical::IdBuilder[][src]

pub trait IdBuilder<I>: Default {
    fn write_bytes(&mut self, bytes: &[u8]);
fn fin(self) -> I; }

Trait for types that takes bytes and produces an identifier

Required methods

fn write_bytes(&mut self, bytes: &[u8])[src]

Write bytes to the id state

fn fin(self) -> I[src]

Consume builder and create an Ident

Loading content...

Implementors

Loading content...