Struct rofl::BytesLoader
[−]
[src]
pub struct BytesLoader<'fl> { /* fields omitted */ }Wrapper around FileLoader that loads the entire content of the files.
The content is given out as simple vector of bytes, i.e. Vec<u8>.
Methods
impl<'fl> BytesLoader<'fl>[src]
fn new(inner: FileLoader<'fl>) -> Self
Wrap a FileLoader within the BytesLoader.
Trait Implementations
impl<'fl> Debug for BytesLoader<'fl>[src]
impl<'fl> From<FileLoader<'fl>> for BytesLoader<'fl>[src]
fn from(input: FileLoader<'fl>) -> Self
Performs the conversion.