pub trait DinocoGenericRow {
// Required method
fn get_value(&self, idx: usize) -> Result<DinocoValue, DinocoError>;
// Provided methods
fn get_optional<T>(&self, idx: usize) -> Result<Option<T>, DinocoError>
where T: TryFrom<DinocoValue, Error = DinocoError> { ... }
fn get<T>(&self, idx: usize) -> Result<T, DinocoError>
where T: TryFrom<DinocoValue, Error = DinocoError> { ... }
}Required Methods§
fn get_value(&self, idx: usize) -> Result<DinocoValue, DinocoError>
Provided Methods§
fn get_optional<T>(&self, idx: usize) -> Result<Option<T>, DinocoError>
fn get<T>(&self, idx: usize) -> Result<T, DinocoError>
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.