mirror of
https://git.asonix.dog/asonix/background-jobs.git
synced 2024-11-21 19:40:59 +00:00
Add Send and Sync to Server Deref
This commit is contained in:
parent
dc3f7b2c62
commit
e02de4a153
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue