1use crate::container::Contract; 2 3pub trait ServiceProvider<C: Contract>: Send + Sync{ 4 fn register(&self, container: &C ) 5 { 6 7 } 8 9 fn boot(&self, container: &C) 10 { 11 12 } 13}