[−][src]Trait canonical::Source
Trait to implement reading bytes from an underlying storage
Required methods
fn read_bytes(&mut self, n: usize) -> &[u8]
Request n bytes from the sink to be read
fn store(&self) -> &S
Returns a reference to the Store associated with the source
Implementors
impl<'a, S> Source<S> for ByteSource<'a, S> where
S: Store,
[src]
S: Store,