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§
source§impl TimedFileReader
impl TimedFileReader
fn new(path: &str) -> Result<TimedFileReader>
Auto Trait Implementations§
impl Freeze for TimedFileReader
impl RefUnwindSafe for TimedFileReader
impl Send for TimedFileReader
impl Sync for TimedFileReader
impl Unpin for TimedFileReader
impl UnwindSafe for TimedFileReader
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