pub struct ProcessManagerBuilder<P: ProcessManager> { /* private fields */ }Implementations§
Source§impl<P: ProcessManager> ProcessManagerBuilder<P>
impl<P: ProcessManager> ProcessManagerBuilder<P>
pub fn name(self, n: impl Into<String>) -> Self
pub fn events(self, rx: UnboundedReceiver<P::Event>) -> Self
pub fn dispatcher<F, Fut>(self, f: F) -> Self
pub fn build(self) -> Result<ProcessManagerTopology<P>, PatternError<P::Error>>
Auto Trait Implementations§
impl<P> Freeze for ProcessManagerBuilder<P>
impl<P> !RefUnwindSafe for ProcessManagerBuilder<P>
impl<P> Send for ProcessManagerBuilder<P>
impl<P> Sync for ProcessManagerBuilder<P>
impl<P> Unpin for ProcessManagerBuilder<P>
impl<P> UnsafeUnpin for ProcessManagerBuilder<P>
impl<P> !UnwindSafe for ProcessManagerBuilder<P>
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