pub struct ConfigRoutes { /* private fields */ }Expand description
ChildProviders over the configuration’s routes.
Implementations§
Trait Implementations§
Source§impl ChildProviders for ConfigRoutes
impl ChildProviders for ConfigRoutes
Source§fn routes(&self) -> Vec<RouteInfo>
fn routes(&self) -> Vec<RouteInfo>
The routes a call may name, in the order they are listed to the model.
Source§fn default_route(&self) -> String
fn default_route(&self) -> String
The route a call that names none goes to.
Auto Trait Implementations§
impl Forget for ConfigRoutes
impl Freeze for ConfigRouteswhere
*const u8 is !null: Freeze,
PhantomData<NamedRoute>: Freeze,
PhantomData<ProviderProfile>: Freeze,
PhantomData<u8>: Freeze,
*const ArcInner<Mutex<Option<String>>> is !null: Freeze,
PhantomData<ArcInner<Mutex<Option<String>>>>: Freeze,
impl Move for ConfigRoutes
impl RefUnwindSafe for ConfigRoutes
impl Send for ConfigRouteswhere
RawVecInner: Send,
NodeRef<Owned, String, Value, LeafOrInternal>: Send,
BoxRaw<(String, Value)>: Send,
NodeRef<Owned, String, String, LeafOrInternal>: Send,
BoxRaw<(String, String)>: Send,
NodeRef<Owned, String, ModelReasoning, LeafOrInternal>: Send,
BoxRaw<(String, ModelReasoning)>: Send,
NodeRef<Owned, String, ModelLimits, LeafOrInternal>: Send,
BoxRaw<(String, ModelLimits)>: Send,
Arc<Mutex<Option<String>>>: Send,
impl Sync for ConfigRouteswhere
RawVecInner: Sync,
NodeRef<Owned, String, Value, LeafOrInternal>: Sync,
BoxRaw<(String, Value)>: Sync,
NodeRef<Owned, String, String, LeafOrInternal>: Sync,
BoxRaw<(String, String)>: Sync,
NodeRef<Owned, String, ModelReasoning, LeafOrInternal>: Sync,
BoxRaw<(String, ModelReasoning)>: Sync,
NodeRef<Owned, String, ModelLimits, LeafOrInternal>: Sync,
BoxRaw<(String, ModelLimits)>: Sync,
Arc<Mutex<Option<String>>>: Sync,
impl Unpin for ConfigRouteswhere
*const u8 is !null: Unpin,
*const LeafNode<String, Value> is !null: Unpin,
Box<(String, Value)>: Unpin,
*const LeafNode<String, String> is !null: Unpin,
Box<(String, String)>: Unpin,
*const LeafNode<String, ModelReasoning> is !null: Unpin,
Box<(String, ModelReasoning)>: Unpin,
*const LeafNode<String, ModelLimits> is !null: Unpin,
Box<(String, ModelLimits)>: Unpin,
Arc<Mutex<Option<String>>>: Unpin,
impl UnsafeUnpin for ConfigRouteswhere
*const u8 is !null: UnsafeUnpin,
PhantomData<NamedRoute>: UnsafeUnpin,
PhantomData<ProviderProfile>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const ArcInner<Mutex<Option<String>>> is !null: UnsafeUnpin,
PhantomData<ArcInner<Mutex<Option<String>>>>: UnsafeUnpin,
impl UnwindSafe for ConfigRouteswhere
RawVecInner: UnwindSafe,
BTreeMap<String, Value>: UnwindSafe,
BTreeMap<String, String>: UnwindSafe,
BTreeMap<String, ModelReasoning>: UnwindSafe,
BTreeMap<String, ModelLimits>: UnwindSafe,
Arc<Mutex<Option<String>>>: UnwindSafe,
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