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) -> 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(self) -> Result<Builder<'a>>
pub fn set_cleanup_cmd(&mut self, value: impl SetterInput<Owned>) -> Result<()>
pub fn init_cleanup_cmd(self, size: u32) -> Builder<'a>
pub fn has_cleanup_cmd(&self) -> bool
pub fn get_global_args(self) -> Result<Builder<'a>>
pub fn set_global_args(&mut self, value: impl SetterInput<Owned>) -> Result<()>
pub fn init_global_args(self, size: u32) -> Builder<'a>
pub fn has_global_args(&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) -> Result<Builder<'a>>
pub fn set_metadata_old(&mut self, value: Reader<'_>)
pub fn init_metadata_old(self, size: u32) -> Builder<'a>
pub fn has_metadata_old(&self) -> bool
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(self) -> Result<Builder<'a, Owned>>
pub fn set_env_vars(&mut self, value: Reader<'_, Owned>) -> Result<()>
pub fn init_env_vars(self, size: u32) -> Builder<'a, Owned>
pub fn has_env_vars(&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(self) -> Result<Builder<'a, u64>>
pub fn set_additional_fds( &mut self, value: impl SetterInput<Owned<u64>>, ) -> Result<()>
pub fn init_additional_fds(self, size: u32) -> Builder<'a, u64>
pub fn has_additional_fds(&self) -> bool
pub fn get_leak_fds(self) -> Result<Builder<'a, u64>>
pub fn set_leak_fds( &mut self, value: impl SetterInput<Owned<u64>>, ) -> Result<()>
pub fn init_leak_fds(self, size: u32) -> Builder<'a, u64>
pub fn has_leak_fds(&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> !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