pub trait Backend: Sized {
type Driver: DriverLifecycle + FixedBuffers + ProvidedBufRing + 'static;
type Config: DriverConfig;
type RecvMsgOut: RecvMsgOutView;
type ProvidedBuf;
// Required method
fn new_driver(cfg: Self::Config) -> Result<Self::Driver>;
}Required Associated Types§
type Driver: DriverLifecycle + FixedBuffers + ProvidedBufRing + 'static
type Config: DriverConfig
type RecvMsgOut: RecvMsgOutView
type ProvidedBuf
Required Methods§
fn new_driver(cfg: Self::Config) -> Result<Self::Driver>
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.