pub struct SecretServiceClient<T> { /* private fields */ }Implementations§
Source§impl SecretServiceClient<Channel>
impl SecretServiceClient<Channel>
Source§impl<T> SecretServiceClient<T>
impl<T> SecretServiceClient<T>
pub fn new(inner: T) -> Self
pub fn with_origin(inner: T, origin: Uri) -> Self
pub fn with_interceptor<F>( inner: T, interceptor: F, ) -> SecretServiceClient<InterceptedService<T, F>>
Sourcepub fn send_compressed(self, encoding: CompressionEncoding) -> Self
pub fn send_compressed(self, encoding: CompressionEncoding) -> Self
Compress requests with the given encoding.
This requires the server to support it otherwise it might respond with an error.
Sourcepub fn accept_compressed(self, encoding: CompressionEncoding) -> Self
pub fn accept_compressed(self, encoding: CompressionEncoding) -> Self
Enable decompressing responses.
Sourcepub fn max_decoding_message_size(self, limit: usize) -> Self
pub fn max_decoding_message_size(self, limit: usize) -> Self
Limits the maximum size of a decoded message.
Default: 4MB
Sourcepub fn max_encoding_message_size(self, limit: usize) -> Self
pub fn max_encoding_message_size(self, limit: usize) -> Self
Limits the maximum size of an encoded message.
Default: usize::MAX
pub async fn describe( &mut self, request: impl IntoRequest<DescribeRequest>, ) -> Result<Response<DescribeResponse>, Status>
pub async fn resolve( &mut self, request: impl IntoRequest<ResolveRequest>, ) -> Result<Response<ResolveResponse>, Status>
Sourcepub async fn inspect_binding(
&mut self,
request: impl IntoRequest<InspectBindingRequest>,
) -> Result<Response<InspectBindingResponse>, Status>
pub async fn inspect_binding( &mut self, request: impl IntoRequest<InspectBindingRequest>, ) -> Result<Response<InspectBindingResponse>, Status>
Read-only metadata inspection. This reports whether the exact logical extract exists without returning or decrypting its value.
pub async fn store( &mut self, request: impl IntoRequest<StoreRequest>, ) -> Result<Response<StoreResponse>, Status>
pub async fn delete( &mut self, request: impl IntoRequest<DeleteRequest>, ) -> Result<Response<DeleteResponse>, Status>
pub async fn inspect_recipient_policy( &mut self, request: impl IntoRequest<InspectRecipientPolicyRequest>, ) -> Result<Response<InspectRecipientPolicyResponse>, Status>
pub async fn apply_recipient_policy( &mut self, request: impl IntoRequest<ApplyRecipientPolicyRequest>, ) -> Result<Response<ApplyRecipientPolicyResponse>, Status>
pub async fn resolve_public_artifact( &mut self, request: impl IntoRequest<ResolvePublicArtifactRequest>, ) -> Result<Response<ResolvePublicArtifactResponse>, Status>
pub async fn store_public_artifact( &mut self, request: impl IntoRequest<StorePublicArtifactRequest>, ) -> Result<Response<StorePublicArtifactResponse>, Status>
Trait Implementations§
Source§impl<T: Clone> Clone for SecretServiceClient<T>
impl<T: Clone> Clone for SecretServiceClient<T>
Source§fn clone(&self) -> SecretServiceClient<T>
fn clone(&self) -> SecretServiceClient<T>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<T> !Freeze for SecretServiceClient<T>
impl<T> RefUnwindSafe for SecretServiceClient<T>where
T: RefUnwindSafe,
impl<T> Send for SecretServiceClient<T>where
T: Send,
impl<T> Sync for SecretServiceClient<T>where
T: Sync,
impl<T> Unpin for SecretServiceClient<T>where
T: Unpin,
impl<T> UnsafeUnpin for SecretServiceClient<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for SecretServiceClient<T>where
T: 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Applies the layer to a service and wraps it in [
Layered].