Struct shrev::ReaderId
[−]
[src]
pub struct ReaderId<T> { /* fields omitted */ }
The reader id is used by readers to tell the storage where the last read ended.
Methods
impl<T> ReaderId<T>
[src]
pub fn new(
reader_id: usize,
buffer_id: usize,
alive: Arc<AtomicBool>
) -> ReaderId<T>
[src]
reader_id: usize,
buffer_id: usize,
alive: Arc<AtomicBool>
) -> ReaderId<T>
Create a new reader id
Trait Implementations
impl<T: Debug> Debug for ReaderId<T>
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more