pub struct CoordinatorBuilder { /* private fields */ }Implementations§
Source§impl CoordinatorBuilder
impl CoordinatorBuilder
pub fn route(self, rule: RoutingRule) -> Self
pub fn with_specialist(self, agent: Arc<dyn Agent>) -> Self
pub fn fallback(self, name: impl Into<String>) -> Self
pub fn build(self) -> CoordinatorAgent
Auto Trait Implementations§
impl Freeze for CoordinatorBuilder
impl !RefUnwindSafe for CoordinatorBuilder
impl Send for CoordinatorBuilder
impl Sync for CoordinatorBuilder
impl Unpin for CoordinatorBuilder
impl UnsafeUnpin for CoordinatorBuilder
impl !UnwindSafe for CoordinatorBuilder
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