pub trait QueueHeader: Pod {
type Item: Pod + Copy;
// Required methods
fn head(&self) -> u64;
fn set_head(&mut self, value: u64);
fn count(&self) -> u64;
fn set_count(&mut self, value: u64);
fn incr_event_id(&mut self);
fn decr_event_id(&mut self, n: u64);
}Required Associated Types§
Required Methods§
fn head(&self) -> u64
fn set_head(&mut self, value: u64)
fn count(&self) -> u64
fn set_count(&mut self, value: u64)
fn incr_event_id(&mut self)
fn decr_event_id(&mut self, n: u64)
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.