pub struct AgentOnly<A>(pub A);Expand description
Wrapper to convert a single agent component (no proxies) into InstantiateProxiesAndAgent.
Tuple Fields§
§0: ATrait Implementations§
Source§impl<A: ConnectTo<Client> + 'static> InstantiateProxiesAndAgent for AgentOnly<A>
impl<A: ConnectTo<Client> + 'static> InstantiateProxiesAndAgent for AgentOnly<A>
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<A> Freeze for AgentOnly<A>where
A: Freeze,
impl<A> RefUnwindSafe for AgentOnly<A>where
A: RefUnwindSafe,
impl<A> Send for AgentOnly<A>where
A: Send,
impl<A> Sync for AgentOnly<A>where
A: Sync,
impl<A> Unpin for AgentOnly<A>where
A: Unpin,
impl<A> UnsafeUnpin for AgentOnly<A>where
A: UnsafeUnpin,
impl<A> UnwindSafe for AgentOnly<A>where
A: UnwindSafe,
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
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoMaybeUndefined<T> for T
impl<T> IntoMaybeUndefined<T> for T
Source§fn into_maybe_undefined(self) -> MaybeUndefined<T>
fn into_maybe_undefined(self) -> MaybeUndefined<T>
Converts this value into a three-state builder argument.
Source§impl<T> IntoOption<T> for T
impl<T> IntoOption<T> for T
Source§fn into_option(self) -> Option<T>
fn into_option(self) -> Option<T>
Converts this value into an optional builder argument.