pub struct LocalAsyncChannelMetadataServiceClient<C> { /* private fields */ }Trait Implementations§
Source§impl<C> AsyncService<C> for LocalAsyncChannelMetadataServiceClient<C>
impl<C> AsyncService<C> for LocalAsyncChannelMetadataServiceClient<C>
Source§fn new(
client: C,
runtime: &Arc<ConjureRuntime>,
) -> LocalAsyncChannelMetadataServiceClient<C>
fn new( client: C, runtime: &Arc<ConjureRuntime>, ) -> LocalAsyncChannelMetadataServiceClient<C>
Creates a new service wrapping an async HTTP client.
Source§impl<C> Clone for LocalAsyncChannelMetadataServiceClient<C>where
C: Clone,
impl<C> Clone for LocalAsyncChannelMetadataServiceClient<C>where
C: Clone,
Source§fn clone(&self) -> LocalAsyncChannelMetadataServiceClient<C>
fn clone(&self) -> LocalAsyncChannelMetadataServiceClient<C>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<C> Debug for LocalAsyncChannelMetadataServiceClient<C>where
C: Debug,
impl<C> Debug for LocalAsyncChannelMetadataServiceClient<C>where
C: Debug,
Source§impl<I, __C> LocalAsyncChannelMetadataService<I> for LocalAsyncChannelMetadataServiceClient<__C>
impl<I, __C> LocalAsyncChannelMetadataService<I> for LocalAsyncChannelMetadataServiceClient<__C>
Source§async fn get_channel_metadata(
&self,
auth_: &BearerToken,
request: &GetChannelMetadataRequest,
) -> Result<ChannelMetadata, Error>
async fn get_channel_metadata( &self, auth_: &BearerToken, request: &GetChannelMetadataRequest, ) -> Result<ChannelMetadata, Error>
Get the metadata for a channel.
Source§async fn batch_get_channel_metadata(
&self,
auth_: &BearerToken,
request: &BatchGetChannelMetadataRequest,
) -> Result<BatchGetChannelMetadataResponse, Error>
async fn batch_get_channel_metadata( &self, auth_: &BearerToken, request: &BatchGetChannelMetadataRequest, ) -> Result<BatchGetChannelMetadataResponse, Error>
Batch get the metadata for multiple channels. If some channels cannot be found or authorized,
they will be omitted from the response.
Source§async fn update_channel_metadata(
&self,
auth_: &BearerToken,
request: &UpdateChannelMetadataRequest,
) -> Result<ChannelMetadata, Error>
async fn update_channel_metadata( &self, auth_: &BearerToken, request: &UpdateChannelMetadataRequest, ) -> Result<ChannelMetadata, Error>
Update the metadata for a channel.
Source§async fn batch_update_channel_metadata(
&self,
auth_: &BearerToken,
request: &BatchUpdateChannelMetadataRequest,
) -> Result<BatchUpdateChannelMetadataResponse, Error>
async fn batch_update_channel_metadata( &self, auth_: &BearerToken, request: &BatchUpdateChannelMetadataRequest, ) -> Result<BatchUpdateChannelMetadataResponse, Error>
Batch update the metadata for multiple channels. If some channels cannot be found or authorized,
no metadata will be updated for any of the channels in the request.
Auto Trait Implementations§
impl<C> !RefUnwindSafe for LocalAsyncChannelMetadataServiceClient<C>
impl<C> !UnwindSafe for LocalAsyncChannelMetadataServiceClient<C>
impl<C> Freeze for LocalAsyncChannelMetadataServiceClient<C>where
C: Freeze,
impl<C> Send for LocalAsyncChannelMetadataServiceClient<C>where
C: Send,
impl<C> Sync for LocalAsyncChannelMetadataServiceClient<C>where
C: Sync,
impl<C> Unpin for LocalAsyncChannelMetadataServiceClient<C>where
C: Unpin,
impl<C> UnsafeUnpin for LocalAsyncChannelMetadataServiceClient<C>where
C: UnsafeUnpin,
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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