about summary refs log tree commit diff
path: root/kittybox-rs/src/media/storage/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'kittybox-rs/src/media/storage/mod.rs')
-rw-r--r--kittybox-rs/src/media/storage/mod.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/kittybox-rs/src/media/storage/mod.rs b/kittybox-rs/src/media/storage/mod.rs
index cb8b38f..5614437 100644
--- a/kittybox-rs/src/media/storage/mod.rs
+++ b/kittybox-rs/src/media/storage/mod.rs
@@ -4,6 +4,7 @@ use tokio_stream::Stream;
 use bytes::Bytes;
 use serde::{Deserialize, Serialize};
 use std::pin::Pin;
+use std::fmt::Debug;
 
 pub mod file;
 
@@ -86,7 +87,7 @@ pub trait MediaStore: 'static + Send + Sync + Clone {
         content: T,
     ) -> Result<String>
     where
-        T: tokio_stream::Stream<Item = std::result::Result<bytes::Bytes, axum::extract::multipart::MultipartError>> + Unpin + Send;
+        T: tokio_stream::Stream<Item = std::result::Result<bytes::Bytes, axum::extract::multipart::MultipartError>> + Unpin + Send + Debug;
 
     async fn read_streaming(
         &self,