pub trait DevParam {
type Device;
// Required method
fn build(self, name: impl Into<Arc<str>>) -> Result<Self::Device, Error>;
// Provided method
fn needs_mem_shared_fd(&self) -> bool { ... }
}Required Associated Types§
Required Methods§
Provided Methods§
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.