[−][src]Trait sit_core::record::File
Record's file
This trait represent an abstraction of a file: something that has a name and binary content to read.
Associated Types
Required Methods
fn name(&self) -> &str
Returns file's name
fn read(&mut self) -> &mut Self::Read
Returns a mutable reference to Self::Read
fn into_read(self) -> Self::Read
Consumes itself and returns Self::Read
Implementations on Foreign Types
impl<S, R> File for (S, R) where
S: AsRef<str>,
R: Read, [src]
impl<S, R> File for (S, R) where
S: AsRef<str>,
R: Read, type Read = R
fn name(&self) -> &str[src]
fn name(&self) -> &strfn read(&mut self) -> &mut Self::Read[src]
fn read(&mut self) -> &mut Self::Readfn into_read(self) -> Self::Read[src]
fn into_read(self) -> Self::Read