forked from jmug/stoatchat
13 lines
284 B
Rust
13 lines
284 B
Rust
use crate::models::Snapshot;
|
|
use crate::{AbstractSnapshot, Result};
|
|
|
|
use super::super::DummyDb;
|
|
|
|
#[async_trait]
|
|
impl AbstractSnapshot for DummyDb {
|
|
async fn insert_snapshot(&self, snapshot: &Snapshot) -> Result<()> {
|
|
info!("Insert {:?}", snapshot);
|
|
Ok(())
|
|
}
|
|
}
|