pub trait BackendToken: Copy + 'static {
// Required methods
fn parts(self) -> (usize, u32);
fn next_for_slot(index: usize, seq: &mut u32) -> Self;
fn from_index_raw(index: usize, epoch: u32) -> Self;
}Required Methods§
fn parts(self) -> (usize, u32)
fn next_for_slot(index: usize, seq: &mut u32) -> Self
fn from_index_raw(index: usize, epoch: u32) -> Self
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".