pub struct Fallback {
pub candidates: Vec<Composable>,
}Expand description
Fallback chain: try each agent in sequence until one succeeds.
Fields§
§candidates: Vec<Composable>Candidate composables tried in order until one succeeds.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Fallback
impl !RefUnwindSafe for Fallback
impl Send for Fallback
impl Sync for Fallback
impl Unpin for Fallback
impl !UnwindSafe for Fallback
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