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

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

Writing half of an atomic buffer.

Trait Implementations

impl<T> Buffer<T> for Writer<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> WritableBuffer<T> for Writer<T>
[src]

Copy the given elements and insert them into the back of the buffer. Read more

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

Auto Trait Implementations

impl<T> !Sync for Writer<T>