pub struct ChildOptions { /* private fields */ }
Expand description
The properties for a child being added to a realm
Implementations§
Source§impl ChildOptions
impl ChildOptions
pub fn new() -> Self
pub fn eager(self) -> Self
pub fn environment(self, environment: impl Into<String>) -> Self
pub fn reboot_on_terminate(self) -> Self
pub fn config_overrides( self, config_overrides: impl Into<Vec<ConfigOverride>>, ) -> Self
Trait Implementations§
Source§impl Clone for ChildOptions
impl Clone for ChildOptions
Source§fn clone(&self) -> ChildOptions
fn clone(&self) -> ChildOptions
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ChildOptions
impl Debug for ChildOptions
Source§impl Into<ChildOptions> for ChildOptions
impl Into<ChildOptions> for ChildOptions
Source§fn into(self) -> ChildOptions
fn into(self) -> ChildOptions
Converts this type into the (usually inferred) input type.
Auto Trait Implementations§
impl Freeze for ChildOptions
impl RefUnwindSafe for ChildOptions
impl Send for ChildOptions
impl Sync for ChildOptions
impl Unpin for ChildOptions
impl UnwindSafe for ChildOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)