Trait PutInDB

Source
pub trait PutInDB {
    // Required method
    async fn put_in_db(&self, db: &mut Database) -> Result<String>;
}

Required Methods§

Source

async fn put_in_db(&self, db: &mut Database) -> Result<String>

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.

Implementations on Foreign Types§

Source§

impl PutInDB for Value

Source§

async fn put_in_db(&self, db: &mut Database) -> Result<String>

Implementors§