Struct ringtail::buffers::atomic::Reader[][src]

pub struct Reader<T> { /* fields omitted */ }

Reading half of an atomic buffer.

Trait Implementations

impl<T> Buffer<T> for Reader<T>
[src]

Returns the number of elements in the buffer.

Returns the current capacity of the buffer.

Clears all elements from the buffer and resets the length to zero.

Returns true if the buffer is empty.

impl<T: Copy> ReadableBuffer<T> for Reader<T>
[src]

Copy elements from the front of the buffer into the given slice. Read more

Consume up to count elements from the front of the buffer and discards them. Read more

Pull elements from the front of the buffer into the given location, up to the length of the destination buffer. Read more

impl<T: Copy> Send for Reader<T>
[src]

Auto Trait Implementations

impl<T> !Sync for Reader<T>