Add Send and Sync to Server Deref

This commit is contained in:
asonix 2024-01-08 16:53:14 -06:00
parent dc3f7b2c62
commit e02de4a153

View file

@ -26,7 +26,7 @@ impl Server {
}
impl Deref for Server {
type Target = dyn ActixStorage;
type Target = dyn ActixStorage + Send + Sync;
fn deref(&self) -> &Self::Target {
self.storage.as_ref()