pub trait OperatorService: RawClientLikewhere
<Self as RawClientLike>::SvcType: GrpcService<Body> + Send + Clone + 'static,
<<Self as RawClientLike>::SvcType as GrpcService<Body>>::ResponseBody: Body<Data = Bytes> + Send + 'static,
<<Self as RawClientLike>::SvcType as GrpcService<Body>>::Error: Into<StdError>,
<<Self as RawClientLike>::SvcType as GrpcService<Body>>::Future: Send,
<<<Self as RawClientLike>::SvcType as GrpcService<Body>>::ResponseBody as Body>::Error: Into<StdError> + Send,{
// Provided methods
fn add_search_attributes(
&mut self,
request: impl IntoRequest<AddSearchAttributesRequest>,
) -> BoxFuture<'_, Result<Response<AddSearchAttributesResponse>, Status>> { ... }
fn remove_search_attributes(
&mut self,
request: impl IntoRequest<RemoveSearchAttributesRequest>,
) -> BoxFuture<'_, Result<Response<RemoveSearchAttributesResponse>, Status>> { ... }
fn list_search_attributes(
&mut self,
request: impl IntoRequest<ListSearchAttributesRequest>,
) -> BoxFuture<'_, Result<Response<ListSearchAttributesResponse>, Status>> { ... }
fn delete_namespace(
&mut self,
request: impl IntoRequest<DeleteNamespaceRequest>,
) -> BoxFuture<'_, Result<Response<DeleteNamespaceResponse>, Status>> { ... }
fn add_or_update_remote_cluster(
&mut self,
request: impl IntoRequest<AddOrUpdateRemoteClusterRequest>,
) -> BoxFuture<'_, Result<Response<AddOrUpdateRemoteClusterResponse>, Status>> { ... }
fn remove_remote_cluster(
&mut self,
request: impl IntoRequest<RemoveRemoteClusterRequest>,
) -> BoxFuture<'_, Result<Response<RemoveRemoteClusterResponse>, Status>> { ... }
fn list_clusters(
&mut self,
request: impl IntoRequest<ListClustersRequest>,
) -> BoxFuture<'_, Result<Response<ListClustersResponse>, Status>> { ... }
fn get_nexus_endpoint(
&mut self,
request: impl IntoRequest<GetNexusEndpointRequest>,
) -> BoxFuture<'_, Result<Response<GetNexusEndpointResponse>, Status>> { ... }
fn create_nexus_endpoint(
&mut self,
request: impl IntoRequest<CreateNexusEndpointRequest>,
) -> BoxFuture<'_, Result<Response<CreateNexusEndpointResponse>, Status>> { ... }
fn update_nexus_endpoint(
&mut self,
request: impl IntoRequest<UpdateNexusEndpointRequest>,
) -> BoxFuture<'_, Result<Response<UpdateNexusEndpointResponse>, Status>> { ... }
fn delete_nexus_endpoint(
&mut self,
request: impl IntoRequest<DeleteNexusEndpointRequest>,
) -> BoxFuture<'_, Result<Response<DeleteNexusEndpointResponse>, Status>> { ... }
fn list_nexus_endpoints(
&mut self,
request: impl IntoRequest<ListNexusEndpointsRequest>,
) -> BoxFuture<'_, Result<Response<ListNexusEndpointsResponse>, Status>> { ... }
}Expand description
Trait version of the generated client with modifications to attach appropriate metric labels or whatever else to requests
Provided Methods§
Sourcefn add_search_attributes(
&mut self,
request: impl IntoRequest<AddSearchAttributesRequest>,
) -> BoxFuture<'_, Result<Response<AddSearchAttributesResponse>, Status>>
fn add_search_attributes( &mut self, request: impl IntoRequest<AddSearchAttributesRequest>, ) -> BoxFuture<'_, Result<Response<AddSearchAttributesResponse>, Status>>
Sourcefn remove_search_attributes(
&mut self,
request: impl IntoRequest<RemoveSearchAttributesRequest>,
) -> BoxFuture<'_, Result<Response<RemoveSearchAttributesResponse>, Status>>
fn remove_search_attributes( &mut self, request: impl IntoRequest<RemoveSearchAttributesRequest>, ) -> BoxFuture<'_, Result<Response<RemoveSearchAttributesResponse>, Status>>
Sourcefn list_search_attributes(
&mut self,
request: impl IntoRequest<ListSearchAttributesRequest>,
) -> BoxFuture<'_, Result<Response<ListSearchAttributesResponse>, Status>>
fn list_search_attributes( &mut self, request: impl IntoRequest<ListSearchAttributesRequest>, ) -> BoxFuture<'_, Result<Response<ListSearchAttributesResponse>, Status>>
Sourcefn delete_namespace(
&mut self,
request: impl IntoRequest<DeleteNamespaceRequest>,
) -> BoxFuture<'_, Result<Response<DeleteNamespaceResponse>, Status>>
fn delete_namespace( &mut self, request: impl IntoRequest<DeleteNamespaceRequest>, ) -> BoxFuture<'_, Result<Response<DeleteNamespaceResponse>, Status>>
Sourcefn add_or_update_remote_cluster(
&mut self,
request: impl IntoRequest<AddOrUpdateRemoteClusterRequest>,
) -> BoxFuture<'_, Result<Response<AddOrUpdateRemoteClusterResponse>, Status>>
fn add_or_update_remote_cluster( &mut self, request: impl IntoRequest<AddOrUpdateRemoteClusterRequest>, ) -> BoxFuture<'_, Result<Response<AddOrUpdateRemoteClusterResponse>, Status>>
Sourcefn remove_remote_cluster(
&mut self,
request: impl IntoRequest<RemoveRemoteClusterRequest>,
) -> BoxFuture<'_, Result<Response<RemoveRemoteClusterResponse>, Status>>
fn remove_remote_cluster( &mut self, request: impl IntoRequest<RemoveRemoteClusterRequest>, ) -> BoxFuture<'_, Result<Response<RemoveRemoteClusterResponse>, Status>>
Sourcefn list_clusters(
&mut self,
request: impl IntoRequest<ListClustersRequest>,
) -> BoxFuture<'_, Result<Response<ListClustersResponse>, Status>>
fn list_clusters( &mut self, request: impl IntoRequest<ListClustersRequest>, ) -> BoxFuture<'_, Result<Response<ListClustersResponse>, Status>>
Sourcefn get_nexus_endpoint(
&mut self,
request: impl IntoRequest<GetNexusEndpointRequest>,
) -> BoxFuture<'_, Result<Response<GetNexusEndpointResponse>, Status>>
fn get_nexus_endpoint( &mut self, request: impl IntoRequest<GetNexusEndpointRequest>, ) -> BoxFuture<'_, Result<Response<GetNexusEndpointResponse>, Status>>
Sourcefn create_nexus_endpoint(
&mut self,
request: impl IntoRequest<CreateNexusEndpointRequest>,
) -> BoxFuture<'_, Result<Response<CreateNexusEndpointResponse>, Status>>
fn create_nexus_endpoint( &mut self, request: impl IntoRequest<CreateNexusEndpointRequest>, ) -> BoxFuture<'_, Result<Response<CreateNexusEndpointResponse>, Status>>
Sourcefn update_nexus_endpoint(
&mut self,
request: impl IntoRequest<UpdateNexusEndpointRequest>,
) -> BoxFuture<'_, Result<Response<UpdateNexusEndpointResponse>, Status>>
fn update_nexus_endpoint( &mut self, request: impl IntoRequest<UpdateNexusEndpointRequest>, ) -> BoxFuture<'_, Result<Response<UpdateNexusEndpointResponse>, Status>>
Sourcefn delete_nexus_endpoint(
&mut self,
request: impl IntoRequest<DeleteNexusEndpointRequest>,
) -> BoxFuture<'_, Result<Response<DeleteNexusEndpointResponse>, Status>>
fn delete_nexus_endpoint( &mut self, request: impl IntoRequest<DeleteNexusEndpointRequest>, ) -> BoxFuture<'_, Result<Response<DeleteNexusEndpointResponse>, Status>>
Sourcefn list_nexus_endpoints(
&mut self,
request: impl IntoRequest<ListNexusEndpointsRequest>,
) -> BoxFuture<'_, Result<Response<ListNexusEndpointsResponse>, Status>>
fn list_nexus_endpoints( &mut self, request: impl IntoRequest<ListNexusEndpointsRequest>, ) -> BoxFuture<'_, Result<Response<ListNexusEndpointsResponse>, Status>>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.