pub trait Update {
fn update(&mut self, data: &[u8]);
fn chain(self, data: impl AsRef<[u8]>) -> Self { ... }
}
Expand description
Types which consume data with byte granularity.
pub trait Update {
fn update(&mut self, data: &[u8]);
fn chain(self, data: impl AsRef<[u8]>) -> Self { ... }
}
Types which consume data with byte granularity.