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>
pub fn get_id(self) -> u64
pub fn set_id(&mut self, value: u64)
pub fn set_list_services(&mut self, _value: ())
pub fn set_get_endpoints(&mut self, value: impl SetterInput<Owned>)
pub fn init_get_endpoints(self, size: u32) -> Builder<'a>
pub fn has_get_endpoints(&self) -> bool
pub fn set_get_schema(&mut self, value: impl SetterInput<Owned>)
pub fn init_get_schema(self, size: u32) -> Builder<'a>
pub fn has_get_schema(&self) -> bool
pub fn set_ping(&mut self, _value: ())
pub fn set_get_auth_metadata(&mut self, value: impl SetterInput<Owned>)
pub fn init_get_auth_metadata(self, size: u32) -> Builder<'a>
pub fn has_get_auth_metadata(&self) -> bool
pub fn set_prepare_stream(&mut self, _value: ())
pub fn set_get_stream(&mut self, _value: ())
pub fn set_list_streams(&mut self, _value: ())
pub fn set_announce(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_announce(self) -> Builder<'a>
pub fn has_announce(&self) -> bool
pub fn set_register_entity_statement(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_register_entity_statement(self) -> Builder<'a>
pub fn has_register_entity_statement(&self) -> bool
pub fn set_get_entity_statement(&mut self, value: impl SetterInput<Owned>)
pub fn init_get_entity_statement(self, size: u32) -> Builder<'a>
pub fn has_get_entity_statement(&self) -> bool
pub fn set_register_envelope_keyset(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_register_envelope_keyset(self) -> Builder<'a>
pub fn has_register_envelope_keyset(&self) -> bool
pub fn set_get_envelope_keyset(&mut self, value: impl SetterInput<Owned>)
pub fn init_get_envelope_keyset(self, size: u32) -> Builder<'a>
pub fn has_get_envelope_keyset(&self) -> bool
pub fn set_list_known_issuers(&mut self, _value: ())
pub fn set_get_record(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_get_record(self) -> Builder<'a>
pub fn has_get_record(&self) -> bool
pub fn set_get_repo(&mut self, value: impl SetterInput<Owned>)
pub fn init_get_repo(self, size: u32) -> Builder<'a>
pub fn has_get_repo(&self) -> bool
pub fn set_query_candidates(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_query_candidates(self) -> Builder<'a>
pub fn has_query_candidates(&self) -> bool
pub fn set_report_node_liveness(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_report_node_liveness(self) -> Builder<'a>
pub fn has_report_node_liveness(&self) -> bool
pub fn which(self) -> Result<WhichBuilder<'a>, NotInSchema>
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§
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> 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 more§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