pub enum ProviderCategory {
Local,
Cloud,
}Expand description
Where a provider runs. Drives the Settings + node-inspector UI grouping
(one “LLM” area split into Local vs Cloud) without the frontend having to
hardcode provider names. Cloud providers make outbound network calls
gated by allow_cloud_ai; Local providers hit a user-configured
on-device endpoint gated by allow_local_ai.
Variants§
Trait Implementations§
Source§impl Clone for ProviderCategory
impl Clone for ProviderCategory
Source§fn clone(&self) -> ProviderCategory
fn clone(&self) -> ProviderCategory
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ProviderCategory
impl Debug for ProviderCategory
Source§impl<'de> Deserialize<'de> for ProviderCategory
impl<'de> Deserialize<'de> for ProviderCategory
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ProviderCategory
impl PartialEq for ProviderCategory
Source§impl Serialize for ProviderCategory
impl Serialize for ProviderCategory
impl Copy for ProviderCategory
impl Eq for ProviderCategory
impl StructuralPartialEq for ProviderCategory
Auto Trait Implementations§
impl Freeze for ProviderCategory
impl RefUnwindSafe for ProviderCategory
impl Send for ProviderCategory
impl Sync for ProviderCategory
impl Unpin for ProviderCategory
impl UnsafeUnpin for ProviderCategory
impl UnwindSafe for ProviderCategory
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