Struct abstutil::time::TimedFileReader
source · [−]struct TimedFileReader {
inner: BufReader<File>,
path: String,
processed_bytes: usize,
total_bytes: usize,
started_at: Instant,
last_printed_at: Option<Instant>,
}
Fields
inner: BufReader<File>
path: String
processed_bytes: usize
total_bytes: usize
started_at: Instant
last_printed_at: Option<Instant>
Implementations
sourceimpl TimedFileReader
impl TimedFileReader
fn new(path: &str) -> Result<TimedFileReader>
Auto Trait Implementations
impl RefUnwindSafe for TimedFileReader
impl Send for TimedFileReader
impl Sync for TimedFileReader
impl Unpin for TimedFileReader
impl UnwindSafe for TimedFileReader
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more