Skip to main content

RowIndex

Trait RowIndex 

Source
pub trait RowIndex {
    // Required method
    fn index(&self, row: &SqlRow) -> Result<usize, SqlError>;
}

Required Methods§

Source

fn index(&self, row: &SqlRow) -> Result<usize, SqlError>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl RowIndex for &str

Source§

fn index(&self, row: &SqlRow) -> Result<usize, SqlError>

Source§

impl RowIndex for String

Source§

fn index(&self, row: &SqlRow) -> Result<usize, SqlError>

Source§

impl RowIndex for usize

Source§

fn index(&self, row: &SqlRow) -> Result<usize, SqlError>

Implementors§