[][src]Trait cql_model::CqlReadable

pub trait CqlReadable: CqlType {
    fn read_from_db(db_location: &str, value_location: u64) -> Self::ValueType;
}

A CQL Value Type with single point read capability.

Allows the implementing type's Self::ValueType to be read point-by-point from a CQL database.

Required methods

fn read_from_db(db_location: &str, value_location: u64) -> Self::ValueType

Reads the value stored in the given value_location in the given db_location (file path).

Loading content...

Implementors

Loading content...