pub struct BoxDispatchClient<'c, TStream, TInnerClient> { /* private fields */ }Implementations§
Source§impl<'c, TStream, TInnerClient> BoxDispatchClient<'c, TStream, TInnerClient>
impl<'c, TStream, TInnerClient> BoxDispatchClient<'c, TStream, TInnerClient>
Trait Implementations§
Source§impl<'c, TInnerClient> BoxedClient<'c, 'static> for BoxDispatchClient<'c, Box<dyn TunnelStream + Send + 'c>, TInnerClient>
impl<'c, TInnerClient> BoxedClient<'c, 'static> for BoxDispatchClient<'c, Box<dyn TunnelStream + Send + 'c>, TInnerClient>
fn handle( self, addr: RouteAddress, stream: Box<dyn TunnelStream + Send + 'c>, ) -> Self::Future
Source§impl<'c, TStream, TInnerClient> Client<'static, TStream> for BoxDispatchClient<'c, TStream, TInnerClient>
impl<'c, TStream, TInnerClient> Client<'static, TStream> for BoxDispatchClient<'c, TStream, TInnerClient>
Source§impl<'c, TStream, TInnerClient> ProtocolInfo for BoxDispatchClient<'c, TStream, TInnerClient>where
TInnerClient: ProtocolInfo + 'c,
impl<'c, TStream, TInnerClient> ProtocolInfo for BoxDispatchClient<'c, TStream, TInnerClient>where
TInnerClient: ProtocolInfo + 'c,
fn protocol_name() -> &'static strwhere
Self: Sized,
Auto Trait Implementations§
impl<'c, TStream, TInnerClient> Freeze for BoxDispatchClient<'c, TStream, TInnerClient>where
TInnerClient: Freeze,
impl<'c, TStream, TInnerClient> RefUnwindSafe for BoxDispatchClient<'c, TStream, TInnerClient>where
TInnerClient: RefUnwindSafe,
TStream: RefUnwindSafe,
impl<'c, TStream, TInnerClient> Send for BoxDispatchClient<'c, TStream, TInnerClient>
impl<'c, TStream, TInnerClient> Sync for BoxDispatchClient<'c, TStream, TInnerClient>
impl<'c, TStream, TInnerClient> Unpin for BoxDispatchClient<'c, TStream, TInnerClient>
impl<'c, TStream, TInnerClient> UnwindSafe for BoxDispatchClient<'c, TStream, TInnerClient>where
TInnerClient: UnwindSafe,
TStream: UnwindSafe,
Blanket Implementations§
Source§impl<TTunnel, TAssignTunnelId> AssignTunnelId<Arc<TTunnel>> for TAssignTunnelIdwhere
TAssignTunnelId: AssignTunnelId<TTunnel>,
TTunnel: WithTunnelId,
impl<TTunnel, TAssignTunnelId> AssignTunnelId<Arc<TTunnel>> for TAssignTunnelIdwhere
TAssignTunnelId: AssignTunnelId<TTunnel>,
TTunnel: WithTunnelId,
fn assign_tunnel_id(self, tunnel_id: TunnelId) -> Arc<TTunnel>
Source§impl<TTunnel, TAssignTunnelId> AssignTunnelId<Box<TTunnel>> for TAssignTunnelIdwhere
TAssignTunnelId: AssignTunnelId<TTunnel>,
TTunnel: WithTunnelId,
impl<TTunnel, TAssignTunnelId> AssignTunnelId<Box<TTunnel>> for TAssignTunnelIdwhere
TAssignTunnelId: AssignTunnelId<TTunnel>,
TTunnel: WithTunnelId,
fn assign_tunnel_id(self, tunnel_id: TunnelId) -> Box<TTunnel>
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
Source§impl<'client, 'result, TStream, TClient> ClientExt<'client, 'result, TStream> for TClientwhere
TClient: Client<'result, TStream> + 'client,
impl<'client, 'result, TStream, TClient> ClientExt<'client, 'result, TStream> for TClientwhere
TClient: Client<'result, TStream> + 'client,
fn map<F, ThenFut, TResponse, TError>(
self,
f: F,
) -> MappedClient<Self, F, TResponse, TError>where
Self: Sized,
TResponse: Send + 'result,
TError: Send + 'result,
F: FnOnce(Result<Self::Response, ClientError<Self::Error>>) -> Result<TResponse, ClientError<TError>> + 'client,
fn then<F, ThenFut, TResponse, TError>( self, f: F, ) -> BoundClient<Self, F, ThenFut, TResponse, TError>
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.