pub struct Builder<'a> { /* private fields */ }Implementations§
Source§impl<'a> Builder<'a>
impl<'a> Builder<'a>
pub fn into_reader(self) -> Reader<'a>
pub fn reborrow(&mut self) -> Builder<'_>
pub fn reborrow_as_reader(&self) -> Reader<'_>
pub fn total_size(&self) -> Result<MessageSize, Error>
pub fn get_request_id(self) -> u64
pub fn set_request_id(&mut self, value: u64)
pub fn get_payload(self) -> Result<&'a mut [u8], Error>
pub fn set_payload(&mut self, value: &[u8])
pub fn init_payload(self, size: u32) -> &'a mut [u8] ⓘ
pub fn has_payload(&self) -> bool
pub fn get_iat(self) -> i64
pub fn set_iat(&mut self, value: i64)
pub fn get_nonce(self) -> Result<&'a mut [u8], Error>
pub fn set_nonce(&mut self, value: &[u8])
pub fn init_nonce(self, size: u32) -> &'a mut [u8] ⓘ
pub fn has_nonce(&self) -> bool
pub fn get_delegation_token(self) -> Result<Builder<'a>, Error>
pub fn set_delegation_token(&mut self, value: impl SetterInput<Owned>)
pub fn init_delegation_token(self, size: u32) -> Builder<'a>
pub fn has_delegation_token(&self) -> bool
pub fn get_wth(self) -> Result<&'a mut [u8], Error>
pub fn set_wth(&mut self, value: &[u8])
pub fn init_wth(self, size: u32) -> &'a mut [u8] ⓘ
pub fn has_wth(&self) -> bool
pub fn get_client_dh_public(self) -> Result<&'a mut [u8], Error>
pub fn set_client_dh_public(&mut self, value: &[u8])
pub fn init_client_dh_public(self, size: u32) -> &'a mut [u8] ⓘ
pub fn has_client_dh_public(&self) -> bool
pub fn get_client_kem_public(self) -> Result<&'a mut [u8], Error>
pub fn set_client_kem_public(&mut self, value: &[u8])
pub fn init_client_kem_public(self, size: u32) -> &'a mut [u8] ⓘ
pub fn has_client_kem_public(&self) -> bool
pub fn get_response_kem_recipient(self) -> Result<&'a mut [u8], Error>
pub fn set_response_kem_recipient(&mut self, value: &[u8])
pub fn init_response_kem_recipient(self, size: u32) -> &'a mut [u8] ⓘ
pub fn has_response_kem_recipient(&self) -> bool
pub fn get_service_domain(self) -> Result<Builder<'a>, Error>
pub fn set_service_domain(&mut self, value: impl SetterInput<Owned>)
pub fn init_service_domain(self, size: u32) -> Builder<'a>
pub fn has_service_domain(&self) -> bool
pub fn get_proof_cwt(self) -> Result<&'a mut [u8], Error>
pub fn set_proof_cwt(&mut self, value: &[u8])
pub fn init_proof_cwt(self, size: u32) -> &'a mut [u8] ⓘ
pub fn has_proof_cwt(&self) -> bool
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Builder<'a>
impl<'a> !RefUnwindSafe for Builder<'a>
impl<'a> !Send for Builder<'a>
impl<'a> !Sync for Builder<'a>
impl<'a> Unpin for Builder<'a>
impl<'a> UnsafeUnpin for Builder<'a>
impl<'a> !UnwindSafe for Builder<'a>
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
§impl<T> Identity for Twhere
T: ?Sized,
impl<T> Identity for Twhere
T: ?Sized,
§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>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§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§impl<T> JaggedSlice<T> for T
impl<T> JaggedSlice<T> for T
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
§impl<T> ServiceExt for T
impl<T> ServiceExt for T
§fn map_response_body<F>(self, f: F) -> MapResponseBody<Self, F>where
Self: Sized,
fn map_response_body<F>(self, f: F) -> MapResponseBody<Self, F>where
Self: Sized,
Apply a transformation to the response body. Read more
§fn trace_for_http(self) -> Trace<Self, SharedClassifier<ServerErrorsAsFailures>>where
Self: Sized,
fn trace_for_http(self) -> Trace<Self, SharedClassifier<ServerErrorsAsFailures>>where
Self: Sized,
High level tracing that classifies responses using HTTP status codes. Read more
§fn trace_for_grpc(self) -> Trace<Self, SharedClassifier<GrpcErrorsAsFailures>>where
Self: Sized,
fn trace_for_grpc(self) -> Trace<Self, SharedClassifier<GrpcErrorsAsFailures>>where
Self: Sized,
High level tracing that classifies responses using gRPC headers. Read more