pub trait UuidSelectable: Sized {
// Required methods
fn try_uuid(&mut self) -> Result<Uuid, Error>;
fn list() -> Vec<Self>;
// Provided method
fn having(uuid: Uuid) -> Result<Self, Error> { ... }
}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.