pub struct SupervisorChild {
pub name: Ident,
pub func: Expr,
pub restart: ChildRestart,
pub span: Span,
}Expand description
A child process specification in a supervisor tree
Fields§
§name: Ident§func: Expr§restart: ChildRestart§span: SpanTrait Implementations§
Source§impl Clone for SupervisorChild
impl Clone for SupervisorChild
Source§fn clone(&self) -> SupervisorChild
fn clone(&self) -> SupervisorChild
Returns a duplicate 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 SupervisorChild
impl Debug for SupervisorChild
Source§impl PartialEq for SupervisorChild
impl PartialEq for SupervisorChild
impl StructuralPartialEq for SupervisorChild
Auto Trait Implementations§
impl Freeze for SupervisorChild
impl RefUnwindSafe for SupervisorChild
impl Send for SupervisorChild
impl Sync for SupervisorChild
impl Unpin for SupervisorChild
impl UnwindSafe for SupervisorChild
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