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_metadata(self) -> Result<Builder<'a>>
pub fn set_metadata(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_metadata(self) -> Builder<'a>
pub fn has_metadata(&self) -> bool
pub fn get_image(self) -> Result<Builder<'a>>
pub fn set_image(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_image(self) -> Builder<'a>
pub fn has_image(&self) -> bool
pub fn get_command(self) -> Result<Builder<'a>>
pub fn set_command(&mut self, value: impl SetterInput<Owned>) -> Result<()>
pub fn init_command(self, size: u32) -> Builder<'a>
pub fn has_command(&self) -> bool
pub fn get_args(self) -> Result<Builder<'a>>
pub fn set_args(&mut self, value: impl SetterInput<Owned>) -> Result<()>
pub fn init_args(self, size: u32) -> Builder<'a>
pub fn has_args(&self) -> bool
pub fn get_working_dir(self) -> Result<Builder<'a>>
pub fn set_working_dir(&mut self, value: impl SetterInput<Owned>)
pub fn init_working_dir(self, size: u32) -> Builder<'a>
pub fn has_working_dir(&self) -> bool
pub fn get_envs(self) -> Result<Builder<'a, Owned>>
pub fn set_envs(&mut self, value: Reader<'_, Owned>) -> Result<()>
pub fn init_envs(self, size: u32) -> Builder<'a, Owned>
pub fn has_envs(&self) -> bool
pub fn get_mounts(self) -> Result<Builder<'a, Owned>>
pub fn set_mounts(&mut self, value: Reader<'_, Owned>) -> Result<()>
pub fn init_mounts(self, size: u32) -> Builder<'a, Owned>
pub fn has_mounts(&self) -> bool
pub fn get_devices(self) -> Result<Builder<'a, Owned>>
pub fn set_devices(&mut self, value: Reader<'_, Owned>) -> Result<()>
pub fn init_devices(self, size: u32) -> Builder<'a, Owned>
pub fn has_devices(&self) -> bool
pub fn get_labels(self) -> Result<Builder<'a, Owned>>
pub fn set_labels(&mut self, value: Reader<'_, Owned>) -> Result<()>
pub fn init_labels(self, size: u32) -> Builder<'a, Owned>
pub fn has_labels(&self) -> bool
pub fn get_annotations(self) -> Result<Builder<'a, Owned>>
pub fn set_annotations(&mut self, value: Reader<'_, Owned>) -> Result<()>
pub fn init_annotations(self, size: u32) -> Builder<'a, Owned>
pub fn has_annotations(&self) -> bool
pub fn get_log_path(self) -> Result<Builder<'a>>
pub fn set_log_path(&mut self, value: impl SetterInput<Owned>)
pub fn init_log_path(self, size: u32) -> Builder<'a>
pub fn has_log_path(&self) -> bool
pub fn get_stdin(self) -> bool
pub fn set_stdin(&mut self, value: bool)
pub fn get_stdin_once(self) -> bool
pub fn set_stdin_once(&mut self, value: bool)
pub fn get_tty(self) -> bool
pub fn set_tty(&mut self, value: bool)
pub fn get_linux(self) -> Result<Builder<'a>>
pub fn set_linux(&mut self, value: Reader<'_>) -> Result<()>
pub fn init_linux(self) -> Builder<'a>
pub fn has_linux(&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§
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