9 lines
155 B
Rust
9 lines
155 B
Rust
|
use std::sync::Arc;
|
||
|
|
||
|
use async_trait::async_trait;
|
||
|
|
||
|
pub type DynItemService = Arc<dyn ItemService + Send + Sync>;
|
||
|
|
||
|
#[async_trait]
|
||
|
pub trait ItemService {}
|