pub struct Builder<'a> {
builder: StructBuilder<'a>,
}Fields§
§builder: StructBuilder<'a>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) -> Result<Builder<'a>>
pub fn set_id(&mut self, value: impl SetterInput<Owned>)
pub fn init_id(self, size: u32) -> Builder<'a>
pub fn has_id(&self) -> bool
pub fn get_bundle_path(self) -> Result<Builder<'a>>
pub fn set_bundle_path(&mut self, value: impl SetterInput<Owned>)
pub fn init_bundle_path(self, size: u32) -> Builder<'a>
pub fn has_bundle_path(&self) -> bool
pub fn get_terminal(self) -> bool
pub fn set_terminal(&mut self, value: bool)
pub fn get_stdin(self) -> bool
pub fn set_stdin(&mut self, value: bool)
pub fn get_exit_paths(self) -> Result<Builder<'a>>
pub fn set_exit_paths(&mut self, value: impl SetterInput<Owned>) -> Result<()>
pub fn init_exit_paths(self, size: u32) -> Builder<'a>
pub fn has_exit_paths(&self) -> bool
pub fn get_oom_exit_paths(self) -> Result<Builder<'a>>
pub fn set_oom_exit_paths( &mut self, value: impl SetterInput<Owned>, ) -> Result<()>
pub fn init_oom_exit_paths(self, size: u32) -> Builder<'a>
pub fn has_oom_exit_paths(&self) -> bool
pub fn get_log_drivers(self) -> Result<Builder<'a, Owned>>
pub fn set_log_drivers(&mut self, value: Reader<'_, Owned>) -> Result<()>
pub fn init_log_drivers(self, size: u32) -> Builder<'a, Owned>
pub fn has_log_drivers(&self) -> bool
pub fn get_cleanup_cmd_old(self) -> Result<Builder<'a>>
pub fn set_cleanup_cmd_old( &mut self, value: impl SetterInput<Owned>, ) -> Result<()>
pub fn init_cleanup_cmd_old(self, size: u32) -> Builder<'a>
pub fn has_cleanup_cmd_old(&self) -> bool
pub fn get_global_args_old(self) -> Result<Builder<'a>>
pub fn set_global_args_old( &mut self, value: impl SetterInput<Owned>, ) -> Result<()>
pub fn init_global_args_old(self, size: u32) -> Builder<'a>
pub fn has_global_args_old(&self) -> bool
pub fn get_command_args(self) -> Result<Builder<'a>>
pub fn set_command_args(&mut self, value: impl SetterInput<Owned>) -> Result<()>
pub fn init_command_args(self, size: u32) -> Builder<'a>
pub fn has_command_args(&self) -> bool
pub fn get_metadata_old(self)
pub fn set_metadata_old(&mut self, _value: ())
pub fn get_metadata(self) -> Result<Builder<'a, Owned>>
pub fn set_metadata(&mut self, value: Reader<'_, Owned>) -> Result<()>
pub fn init_metadata(self, size: u32) -> Builder<'a, Owned>
pub fn has_metadata(&self) -> bool
pub fn get_env_vars_old(self) -> Result<Builder<'a, Owned>>
pub fn set_env_vars_old(&mut self, value: Reader<'_, Owned>) -> Result<()>
pub fn init_env_vars_old(self, size: u32) -> Builder<'a, Owned>
pub fn has_env_vars_old(&self) -> bool
pub fn get_cgroup_manager(self) -> Result<CgroupManager, NotInSchema>
pub fn set_cgroup_manager(&mut self, value: CgroupManager)
pub fn get_additional_fds_old(self) -> Result<Builder<'a, u64>>
pub fn set_additional_fds_old( &mut self, value: impl SetterInput<Owned<u64>>, ) -> Result<()>
pub fn init_additional_fds_old(self, size: u32) -> Builder<'a, u64>
pub fn has_additional_fds_old(&self) -> bool
pub fn get_leak_fds_old(self) -> Result<Builder<'a, u64>>
pub fn set_leak_fds_old( &mut self, value: impl SetterInput<Owned<u64>>, ) -> Result<()>
pub fn init_leak_fds_old(self, size: u32) -> Builder<'a, u64>
pub fn has_leak_fds_old(&self) -> bool
pub fn get_sdnotify_socket_old(self) -> Result<Builder<'a>>
pub fn set_sdnotify_socket_old(&mut self, value: impl SetterInput<Owned>)
pub fn init_sdnotify_socket_old(self, size: u32) -> Builder<'a>
pub fn has_sdnotify_socket_old(&self) -> bool
pub fn get_restore_path(self) -> Result<Builder<'a>>
pub fn set_restore_path(&mut self, value: impl SetterInput<Owned>)
pub fn init_restore_path(self, size: u32) -> Builder<'a>
pub fn has_restore_path(&self) -> bool
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for Builder<'a>
impl<'a> !Send for Builder<'a>
impl<'a> !Sync for Builder<'a>
impl<'a> !UnwindSafe for Builder<'a>
impl<'a> Freeze for Builder<'a>
impl<'a> Unpin for Builder<'a>
impl<'a> UnsafeUnpin 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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
§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> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> 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].