Trait FromDatabaseValue

Source
pub trait FromDatabaseValue {
    // Required method
    fn copy_from_database(bytes: &[u8]) -> Result<Self>
       where Self: Sized;
}

Required Methods§

Source

fn copy_from_database(bytes: &[u8]) -> Result<Self>
where Self: Sized,

Implementations on Foreign Types§

Source§

impl FromDatabaseValue for u32

Source§

fn copy_from_database(bytes: &[u8]) -> Result<Self>
where Self: Sized,

Source§

impl FromDatabaseValue for String

Source§

fn copy_from_database(bytes: &[u8]) -> Result<Self>
where Self: Sized,

Implementors§