pub trait Decode: Sized {
// Required method
fn decode(value: &DbValue) -> Result<Self, Error>;
}
Expand description
A type that can be decoded from the database.
Required Methods§
Object Safety§
This trait is not object safe.
pub trait Decode: Sized {
// Required method
fn decode(value: &DbValue) -> Result<Self, Error>;
}
A type that can be decoded from the database.