pub struct Client<C: ServiceClient> { /* private fields */ }
Expand description
Client that can talk to an XDS server using the aDS protocol.
Implementations§
source§impl Client<AggregatedControlPlaneDiscoveryServiceClient<TonicChannel>>
impl Client<AggregatedControlPlaneDiscoveryServiceClient<TonicChannel>>
pub fn mds_client_stream( &self, config: Arc<Config> ) -> BidirectionalStream<AggregatedControlPlaneDiscoveryServiceClient<TonicChannel>>
source§impl Client<AggregatedDiscoveryServiceClient<Channel>>
impl Client<AggregatedDiscoveryServiceClient<Channel>>
sourcepub fn xds_client_stream(
&self,
config: Arc<Config>
) -> BidirectionalStream<AggregatedDiscoveryServiceClient<TonicChannel>>
pub fn xds_client_stream( &self, config: Arc<Config> ) -> BidirectionalStream<AggregatedDiscoveryServiceClient<TonicChannel>>
Starts a new stream to the xDS management server.
Trait Implementations§
Auto Trait Implementations§
impl<C> !RefUnwindSafe for Client<C>
impl<C> Send for Client<C>
impl<C> Sync for Client<C>where C: Sync,
impl<C> Unpin for Client<C>where C: Unpin,
impl<C> !UnwindSafe for Client<C>
Blanket Implementations§
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> 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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request