pub struct SupervisorBuilder { /* private fields */ }
Implementations§
Source§impl SupervisorBuilder
impl SupervisorBuilder
pub fn add_proc(self, proc: impl ManagedProc + 'static) -> Self
pub fn build(self) -> Supervisor
Auto Trait Implementations§
impl Freeze for SupervisorBuilder
impl !RefUnwindSafe for SupervisorBuilder
impl !Send for SupervisorBuilder
impl !Sync for SupervisorBuilder
impl Unpin for SupervisorBuilder
impl !UnwindSafe for SupervisorBuilder
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