pub struct SwarmOptions {
pub checkpointer: Option<Arc<dyn Checkpointer>>,
pub store: Option<Arc<dyn Store>>,
}Expand description
Options for the swarm multi-agent pattern.
Fields§
§checkpointer: Option<Arc<dyn Checkpointer>>§store: Option<Arc<dyn Store>>Trait Implementations§
Source§impl Default for SwarmOptions
impl Default for SwarmOptions
Source§fn default() -> SwarmOptions
fn default() -> SwarmOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SwarmOptions
impl !RefUnwindSafe for SwarmOptions
impl Send for SwarmOptions
impl Sync for SwarmOptions
impl Unpin for SwarmOptions
impl UnsafeUnpin for SwarmOptions
impl !UnwindSafe for SwarmOptions
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