pub struct SupervisorConfig<T>where
T: Supervisor,{ /* private fields */ }Implementations§
source§impl<T> SupervisorConfig<T>where
T: Supervisor,
impl<T> SupervisorConfig<T>where
T: Supervisor,
pub fn set_strategy(&mut self, strategy: SupervisorStrategy)
pub fn set_args( &mut self, args: <<T as Supervisor>::Children as Supervisable<T>>::Args )
pub fn set_names( &mut self, names: <<T as Supervisor>::Children as Supervisable<T>>::Names )
pub fn set_configs( &mut self, configs: <<T as Supervisor>::Children as Supervisable<T>>::Configs )
pub fn start_link(&mut self)
Trait Implementations§
source§impl<T> Default for SupervisorConfig<T>where
T: Supervisor,
impl<T> Default for SupervisorConfig<T>where
T: Supervisor,
Auto Trait Implementations§
impl<T> RefUnwindSafe for SupervisorConfig<T>where
T: RefUnwindSafe,
<<T as Supervisor>::Children as Supervisable<T>>::Args: RefUnwindSafe,
<<T as Supervisor>::Children as Supervisable<T>>::Configs: RefUnwindSafe,
<<T as Supervisor>::Children as Supervisable<T>>::Names: RefUnwindSafe,
<<T as Supervisor>::Children as Supervisable<T>>::Processes: RefUnwindSafe,
<<T as Supervisor>::Children as Supervisable<T>>::Tags: RefUnwindSafe,
impl<T> Send for SupervisorConfig<T>where
T: Send,
<<T as Supervisor>::Children as Supervisable<T>>::Args: Send,
<<T as Supervisor>::Children as Supervisable<T>>::Configs: Send,
<<T as Supervisor>::Children as Supervisable<T>>::Names: Send,
<<T as Supervisor>::Children as Supervisable<T>>::Processes: Send,
<<T as Supervisor>::Children as Supervisable<T>>::Tags: Send,
impl<T> Sync for SupervisorConfig<T>where
T: Sync,
<<T as Supervisor>::Children as Supervisable<T>>::Args: Sync,
<<T as Supervisor>::Children as Supervisable<T>>::Configs: Sync,
<<T as Supervisor>::Children as Supervisable<T>>::Names: Sync,
<<T as Supervisor>::Children as Supervisable<T>>::Processes: Sync,
<<T as Supervisor>::Children as Supervisable<T>>::Tags: Sync,
impl<T> Unpin for SupervisorConfig<T>where
T: Unpin,
<<T as Supervisor>::Children as Supervisable<T>>::Args: Unpin,
<<T as Supervisor>::Children as Supervisable<T>>::Configs: Unpin,
<<T as Supervisor>::Children as Supervisable<T>>::Names: Unpin,
<<T as Supervisor>::Children as Supervisable<T>>::Processes: Unpin,
<<T as Supervisor>::Children as Supervisable<T>>::Tags: Unpin,
impl<T> UnwindSafe for SupervisorConfig<T>where
T: UnwindSafe,
<<T as Supervisor>::Children as Supervisable<T>>::Args: UnwindSafe,
<<T as Supervisor>::Children as Supervisable<T>>::Configs: UnwindSafe,
<<T as Supervisor>::Children as Supervisable<T>>::Names: UnwindSafe,
<<T as Supervisor>::Children as Supervisable<T>>::Processes: UnwindSafe,
<<T as Supervisor>::Children as Supervisable<T>>::Tags: UnwindSafe,
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