Trait canonical::Source [−][src]
Trait to implement reading bytes from an underlying storage
Required methods
fn read_bytes(&mut self, n: usize) -> &[u8]
[src]
Request n bytes from the sink to be read
fn store(&self) -> &S
[src]
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,