pub enum ProbeResult {
Ready,
Connected {
warning: String,
},
AuthError {
detail: String,
},
Unreachable {
detail: String,
},
}Expand description
Result of a model connection probe.
Variants§
Ready
Provider responded successfully — everything works.
Connected
Authenticated and reachable, but the specific model or request format wasn’t accepted (e.g. 400 “model not supported”). Chat may still work with the real request format.
AuthError
Hard failure — authentication rejected (401/403).
Unreachable
Hard failure — network error or unexpected server error.
Auto Trait Implementations§
impl Freeze for ProbeResult
impl RefUnwindSafe for ProbeResult
impl Send for ProbeResult
impl Sync for ProbeResult
impl Unpin for ProbeResult
impl UnsafeUnpin for ProbeResult
impl UnwindSafe for ProbeResult
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