// Copyright Melody 2023. Licensed under the EUPL-1.2 or later use crate::storage; struct PostgressDB { } impl storage::StorageAccess for PostgressDB { fn store_message(user: &str, message: &str) -> Result { todo!() } fn get_message(user: &str, id: &storage::MessageID) -> Result { todo!() } fn delete_message(id: &storage::MessageID) -> Result { todo!() } fn edit_message(id: &storage::MessageID, message: &str) -> Result { todo!() } fn store_media(f: &tokio::fs::File, nsfw: bool, alt_text: Option<&str>) -> Result { todo!() } fn get_media(id: &storage::MediaID) -> Result<(tokio::fs::File, bool, Option), E> { todo!() } fn delete_media(id: &storage::MediaID) -> Result { todo!() } }