pub struct ChildBuilder { /* private fields */ }
Expand description
A convenience builder for constructing ChildDecls.
Implementations§
Source§impl ChildBuilder
impl ChildBuilder
pub fn new() -> Self
pub fn url(self, url: &str) -> Self
pub fn startup(self, startup: StartupMode) -> Self
pub fn eager(self) -> Self
pub fn on_terminate(self, on_terminate: OnTerminate) -> Self
pub fn environment(self, environment: &str) -> Self
pub fn build(self) -> ChildDecl
Trait Implementations§
Source§impl Debug for ChildBuilder
impl Debug for ChildBuilder
Source§impl Default for ChildBuilder
impl Default for ChildBuilder
Source§impl From<ChildBuilder> for ChildDecl
impl From<ChildBuilder> for ChildDecl
Source§fn from(builder: ChildBuilder) -> Self
fn from(builder: ChildBuilder) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ChildBuilder
impl RefUnwindSafe for ChildBuilder
impl Send for ChildBuilder
impl Sync for ChildBuilder
impl Unpin for ChildBuilder
impl UnwindSafe for ChildBuilder
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