[][src]Trait scylla::frame::response::cql_to_rust::FromCQLVal

pub trait FromCQLVal<T>: Sized {
    fn from_cql(cql_val: T) -> Result<Self, FromCQLValError>;
}

This trait defines a way to convert CQLValue or Option into some rust type

Required methods

fn from_cql(cql_val: T) -> Result<Self, FromCQLValError>

Loading content...

Implementations on Foreign Types

impl<T: FromCQLVal<CQLValue>> FromCQLVal<Option<CQLValue>> for Option<T>[src]

impl FromCQLVal<CQLValue> for i32[src]

impl FromCQLVal<CQLValue> for i64[src]

impl FromCQLVal<CQLValue> for String[src]

impl FromCQLVal<CQLValue> for IpAddr[src]

impl<T: FromCQLVal<CQLValue>> FromCQLVal<CQLValue> for Vec<T>[src]

Loading content...

Implementors

impl<T: FromCQLVal<CQLValue>> FromCQLVal<Option<CQLValue>> for T[src]

Loading content...