Struct jormungandr_lib::interfaces::FileFragments
source · pub struct FileFragments {
reader: BufReader<File>,
file_path: PathBuf,
}
Fields§
§reader: BufReader<File>
§file_path: PathBuf
Implementations§
source§impl FileFragments
impl FileFragments
pub fn from_path( file_path: PathBuf ) -> Result<Box<dyn Iterator<Item = Result<PersistentFragmentLog, DeserializeError>>>>
Trait Implementations§
source§impl IntoIterator for FileFragments
impl IntoIterator for FileFragments
§type Item = Result<PersistentFragmentLog, DeserializeError>
type Item = Result<PersistentFragmentLog, DeserializeError>
The type of the elements being iterated over.
§type IntoIter = FileFragmentsIterator
type IntoIter = FileFragmentsIterator
Which kind of iterator are we turning this into?
Auto Trait Implementations§
impl RefUnwindSafe for FileFragments
impl Send for FileFragments
impl Sync for FileFragments
impl Unpin for FileFragments
impl UnwindSafe for FileFragments
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more