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 set_generation_complete(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_generation_complete(self) -> Builder<'a>
pub fn has_generation_complete(&self) -> bool
pub fn set_generation_failed(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_generation_failed(self) -> Builder<'a>
pub fn has_generation_failed(&self) -> bool
pub fn set_generation_started(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_generation_started(self) -> Builder<'a>
pub fn has_generation_started(&self) -> bool
pub fn set_threshold_breach(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_threshold_breach(self) -> Builder<'a>
pub fn has_threshold_breach(&self) -> bool
pub fn set_metrics_snapshot(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_metrics_snapshot(self) -> Builder<'a>
pub fn has_metrics_snapshot(&self) -> bool
pub fn set_training_started(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_training_started(self) -> Builder<'a>
pub fn has_training_started(&self) -> bool
pub fn set_training_progress(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_training_progress(self) -> Builder<'a>
pub fn has_training_progress(&self) -> bool
pub fn set_training_completed(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_training_completed(self) -> Builder<'a>
pub fn has_training_completed(&self) -> bool
pub fn set_checkpoint_saved(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_checkpoint_saved(self) -> Builder<'a>
pub fn has_checkpoint_saved(&self) -> bool
pub fn set_repository_cloned(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_repository_cloned(self) -> Builder<'a>
pub fn has_repository_cloned(&self) -> bool
pub fn set_commit_created(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_commit_created(self) -> Builder<'a>
pub fn has_commit_created(&self) -> bool
pub fn set_branch_created(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_branch_created(self) -> Builder<'a>
pub fn has_branch_created(&self) -> bool
pub fn set_worktree_created(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_worktree_created(self) -> Builder<'a>
pub fn has_worktree_created(&self) -> bool
pub fn set_server_started(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_server_started(self) -> Builder<'a>
pub fn has_server_started(&self) -> bool
pub fn set_server_stopping(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_server_stopping(self) -> Builder<'a>
pub fn has_server_stopping(&self) -> bool
pub fn set_health_check(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_health_check(self) -> Builder<'a>
pub fn has_health_check(&self) -> bool
pub fn set_crdt_sync(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_crdt_sync(self) -> Builder<'a>
pub fn has_crdt_sync(&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