pub trait Platform {
type Sqe;
type Gso;
type StatBuf;
type TimerSpec;
// Required methods
fn entropy() -> Result<[u64; 2]>;
fn parse_meta(raw: &Self::StatBuf) -> RawMetadata;
fn snapshot() -> Result<Snapshot>;
}Required Associated Types§
Required Methods§
fn entropy() -> Result<[u64; 2]>
fn parse_meta(raw: &Self::StatBuf) -> RawMetadata
fn snapshot() -> Result<Snapshot>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".