pub enum ProbeSource {
LmStudio,
Ollama,
}Expand description
Identifier for the probe endpoint that supplied the cached context length. Surfaces in the startup log line and in the metadata so users can tell which server reported the value.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for ProbeSource
impl Clone for ProbeSource
Source§fn clone(&self) -> ProbeSource
fn clone(&self) -> ProbeSource
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ProbeSource
impl Debug for ProbeSource
Source§impl PartialEq for ProbeSource
impl PartialEq for ProbeSource
Source§fn eq(&self, other: &ProbeSource) -> bool
fn eq(&self, other: &ProbeSource) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ProbeSource
impl Eq for ProbeSource
impl StructuralPartialEq for ProbeSource
Auto Trait Implementations§
impl Freeze for ProbeSource
impl RefUnwindSafe for ProbeSource
impl Send for ProbeSource
impl Sync for ProbeSource
impl Unpin for ProbeSource
impl UnsafeUnpin for ProbeSource
impl UnwindSafe for ProbeSource
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.