pub trait NodeDb {
type Key: ?Sized;
type Error: Debug;
// Required method
fn get(&self, key: &Self::Key) -> Result<Option<DBValue>, Self::Error>;
}Expand description
Backend database trait. Read-only.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".