Struct specs::prelude::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 for ReaderId<T> where
T: Debug,
[src]
T: Debug,
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter. Read more