pub enum ChildType {
Permanent,
Temporary,
Transient,
}Expand description
Child specification defining how a process should be supervised
Variants§
Permanent
Process is always restarted on failure
Temporary
Process is never restarted on failure
Transient
Process is restarted only if it didn’t exit normally
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ChildType
impl RefUnwindSafe for ChildType
impl Send for ChildType
impl Sync for ChildType
impl Unpin for ChildType
impl UnwindSafe for ChildType
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