Trait cycler::CyclerReader[][src]

pub trait CyclerReader<T>: ReadAccess<Read = T::Read> where
    T: ReadAccess
{ fn read_latest(&mut self); }

This trait is implemented for the read half of a cycler.

Required methods

fn read_latest(&mut self)[src]

Moves the reader to the most up-to-date block at the time of call. This may be the same block as previously read which means the writer has not published a new block in the time since the last call.

Loading content...

Implementors

impl<T> CyclerReader<T> for AtomicCyclerReader<T> where
    T: ReadAccess
[src]

impl<T> CyclerReader<T> for RwLockCyclerReader<T> where
    T: ReadAccess
[src]

Loading content...