pub enum VerifyOutcome {
Ready,
NotConfigured,
FilesInvalid {
model_dir: String,
issues: Vec<FileIssue>,
},
}Expand description
Outcome of a startup model verification check.
Variants§
Ready
Both required files exist and have size > 0. Semantic search can be enabled when the inference backend is loaded.
NotConfigured
No model directory has ever been configured. Show the setup wizard — state: “not configured”.
FilesInvalid
The directory was configured but one or more required files are absent or empty.
Trait Implementations§
Source§impl Clone for VerifyOutcome
impl Clone for VerifyOutcome
Source§fn clone(&self) -> VerifyOutcome
fn clone(&self) -> VerifyOutcome
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 VerifyOutcome
impl Debug for VerifyOutcome
Source§impl PartialEq for VerifyOutcome
impl PartialEq for VerifyOutcome
Source§fn eq(&self, other: &VerifyOutcome) -> bool
fn eq(&self, other: &VerifyOutcome) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for VerifyOutcome
Auto Trait Implementations§
impl Freeze for VerifyOutcome
impl RefUnwindSafe for VerifyOutcome
impl Send for VerifyOutcome
impl Sync for VerifyOutcome
impl Unpin for VerifyOutcome
impl UnsafeUnpin for VerifyOutcome
impl UnwindSafe for VerifyOutcome
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<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more