pub struct RingBuffer { /* fields omitted */ }
Expand description
The canonical interface for managing a collection of ringbuf maps.
ringbufs are a special kind of Map, used to transfer data between
Programs and userspace. As of Linux 5.8, the ringbuf map is now
preferred over the perf buffer.
Poll from all open ring buffers, calling the registered callback for
each one. Polls continually until we either run out of events to consume
or timeout is reached.
Greedily consume from all open ring buffers, calling the registered
callback for each one. Consumes continually until we run out of events
to consume or one of the callbacks returns a non-zero integer.
Executes the destructor for this type. Read more
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.