pub struct PrimaryFallbackRouter { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Router for PrimaryFallbackRouter
impl Router for PrimaryFallbackRouter
fn route<'life0, 'async_trait>(
&'life0 self,
prompt: PromptSpec,
) -> Pin<Box<dyn Future<Output = Result<UniformResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl Freeze for PrimaryFallbackRouter
impl !RefUnwindSafe for PrimaryFallbackRouter
impl Send for PrimaryFallbackRouter
impl Sync for PrimaryFallbackRouter
impl Unpin for PrimaryFallbackRouter
impl !UnwindSafe for PrimaryFallbackRouter
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