use giterated_models::{ error::OperationError, operation::{GiteratedObject, GiteratedOperation, Object, ObjectBackend, ObjectRequestError}, }; use std::fmt::Debug; #[derive(Clone, Debug)] pub struct CacheBackend; #[async_trait::async_trait] impl ObjectBackend for CacheBackend { async fn object_operation + Debug>( &self, _object: O, _operation: D, ) -> Result> { // We don't handle operations with this backend Err(OperationError::Unhandled) } async fn get_object( &self, _object_str: &str, ) -> Result, OperationError> { Err(OperationError::Unhandled) } }