[][src]Trait canonical::IdBuilder

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

Trait for types that takes bytes and produces an identifier

Required methods

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

Write bytes to the id state

pub fn fin(self) -> I[src]

Consume builder and create an Ident

Loading content...

Implementors

Loading content...