Struct abstutil::time::TimedFileReader[][src]

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: Stringprocessed_bytes: usizetotal_bytes: usizestarted_at: Instantlast_printed_at: Option<Instant>

Implementations

impl TimedFileReader[src]

fn new(path: &str) -> Result<TimedFileReader>[src]

Auto Trait Implementations

impl RefUnwindSafe for TimedFileReader[src]

impl Send for TimedFileReader[src]

impl Sync for TimedFileReader[src]

impl Unpin for TimedFileReader[src]

impl UnwindSafe for TimedFileReader[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.