pub trait PrimaryKeyFromKey: Copy {
// Required method
fn try_from_key(key: Key) -> Result<Self, ExecutorError>;
}Expand description
Convert a stored Key into a concrete primary key type.
Required Methods§
fn try_from_key(key: Key) -> Result<Self, ExecutorError>
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.