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

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

impl Send for TimedFileReader

impl Sync for TimedFileReader

impl Unpin for TimedFileReader

impl UnwindSafe for TimedFileReader

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.