pub trait Entry: Sized {
type Id: Copy + Eq;
type Echo: Copy + Eq + Into<usize>;
type File: Id;
type Family: Copy + Eq;
type Call: Copy;
// Required methods
fn id(&self) -> Self::Id;
fn echo(&self) -> Self::Echo;
fn file(&self) -> Self::File;
fn index(&self) -> u32;
fn family(&self) -> Self::Family;
fn operation(&self) -> Self::Call;
fn key(id: Self::Id) -> usize;
}Expand description
A registered read retaining its operation identity and physical file slot. Identity, file, index, family, and numeric key conversions remain unchanged while registered.
Required Associated Types§
Required Methods§
fn id(&self) -> Self::Id
fn echo(&self) -> Self::Echo
fn file(&self) -> Self::File
fn index(&self) -> u32
fn family(&self) -> Self::Family
fn operation(&self) -> Self::Call
fn key(id: Self::Id) -> usize
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".