pub struct ClientProxy { /* private fields */ }Expand description
Nest-like client proxy wrapper over a configured Transport.
Implementations§
Trait Implementations§
Source§impl Clone for ClientProxy
impl Clone for ClientProxy
Source§fn clone(&self) -> ClientProxy
fn clone(&self) -> ClientProxy
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 ClientProxy
impl Injectable for ClientProxy
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 ClientProxy
impl !RefUnwindSafe for ClientProxy
impl Send for ClientProxy
impl Sync for ClientProxy
impl Unpin for ClientProxy
impl UnsafeUnpin for ClientProxy
impl !UnwindSafe for ClientProxy
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