diff options
author | HampusM <hampus@hampusmat.com> | 2023-08-04 16:32:46 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2023-08-04 16:32:46 +0200 |
commit | e0216c7cbf008f2867ef92955abce28dba27f5e3 (patch) | |
tree | 92f1f25dad7691b781b621c84e21478e5d182847 /src/interfaces | |
parent | 14e45fe9aa2431120cfd6a7240f8bb94e45e730d (diff) |
refactor: rename CastFromSync to CastFromArc
Diffstat (limited to 'src/interfaces')
-rw-r--r-- | src/interfaces/async_injectable.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interfaces/async_injectable.rs b/src/interfaces/async_injectable.rs index e6a050e..d8e7dfc 100644 --- a/src/interfaces/async_injectable.rs +++ b/src/interfaces/async_injectable.rs @@ -6,11 +6,11 @@ use crate::dependency_history::IDependencyHistory; use crate::di_container::asynchronous::IAsyncDIContainer; use crate::errors::injectable::InjectableError; use crate::future::BoxFuture; -use crate::private::cast::CastFromSync; +use crate::private::cast::CastFromArc; use crate::ptr::TransientPtr; /// Interface for structs that can be injected into or be injected to. -pub trait AsyncInjectable<DIContainerType, DependencyHistoryType>: CastFromSync +pub trait AsyncInjectable<DIContainerType, DependencyHistoryType>: CastFromArc where DIContainerType: IAsyncDIContainer<DependencyHistoryType>, DependencyHistoryType: IDependencyHistory + Send + Sync, |