pub struct ProxiesAndAgent { /* private fields */ }Expand description
Implementations§
Source§impl ProxiesAndAgent
impl ProxiesAndAgent
Sourcepub fn new(agent: impl ConnectTo<Client> + 'static) -> Self
pub fn new(agent: impl ConnectTo<Client> + 'static) -> Self
Create a new builder with the given agent component.
Sourcepub fn proxy(self, proxy: impl ConnectTo<Conductor> + 'static) -> Self
pub fn proxy(self, proxy: impl ConnectTo<Conductor> + 'static) -> Self
Add a single proxy component.
Trait Implementations§
Source§impl Debug for ProxiesAndAgent
impl Debug for ProxiesAndAgent
Source§impl InstantiateProxiesAndAgent for ProxiesAndAgent
impl InstantiateProxiesAndAgent for ProxiesAndAgent
Source§fn instantiate_proxies_and_agent(
self: Box<Self>,
req: InitializeRequest,
) -> BoxFuture<'static, Result<(InitializeRequest, Vec<DynConnectTo<Conductor>>, DynConnectTo<Client>), Error>>
fn instantiate_proxies_and_agent( self: Box<Self>, req: InitializeRequest, ) -> BoxFuture<'static, Result<(InitializeRequest, Vec<DynConnectTo<Conductor>>, DynConnectTo<Client>), Error>>
Instantiate proxy and agent components based on the Initialize request. Read more
Auto Trait Implementations§
impl Freeze for ProxiesAndAgent
impl !RefUnwindSafe for ProxiesAndAgent
impl Send for ProxiesAndAgent
impl !Sync for ProxiesAndAgent
impl Unpin for ProxiesAndAgent
impl UnsafeUnpin for ProxiesAndAgent
impl !UnwindSafe for ProxiesAndAgent
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