pub struct ClientsService { /* private fields */ }Implementations§
Source§impl ClientsService
impl ClientsService
pub fn get(&self, name: &str) -> Option<ClientProxy>
pub fn expect(&self, name: &str) -> ClientProxy
Trait Implementations§
Source§impl Clone for ClientsService
impl Clone for ClientsService
Source§fn clone(&self) -> ClientsService
fn clone(&self) -> ClientsService
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Injectable for ClientsService
impl Injectable for ClientsService
fn construct(_registry: &ProviderRegistry) -> Arc<Self>
Source§fn scope() -> ProviderScope
fn scope() -> ProviderScope
Provider scope used when the module registers this type.
fn on_module_init<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
fn on_module_destroy<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
fn on_application_bootstrap<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
fn on_application_shutdown<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
Auto Trait Implementations§
impl Freeze for ClientsService
impl !RefUnwindSafe for ClientsService
impl Send for ClientsService
impl Sync for ClientsService
impl Unpin for ClientsService
impl UnsafeUnpin for ClientsService
impl !UnwindSafe for ClientsService
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more