pub enum ModelReadiness {
Ready,
NeedsDownload,
NeedsRepair,
CannotCheck,
}Expand description
Overall model readiness (RFC-043 §7.3).
Variants§
Ready
Every required file is present and valid.
NeedsDownload
At least one file is missing.
NeedsRepair
At least one file is partial or invalid (but none missing).
CannotCheck
File access failed unexpectedly.
Trait Implementations§
Source§impl Clone for ModelReadiness
impl Clone for ModelReadiness
Source§fn clone(&self) -> ModelReadiness
fn clone(&self) -> ModelReadiness
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 ModelReadiness
impl Debug for ModelReadiness
impl Eq for ModelReadiness
Source§impl PartialEq for ModelReadiness
impl PartialEq for ModelReadiness
Source§fn eq(&self, other: &ModelReadiness) -> bool
fn eq(&self, other: &ModelReadiness) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ModelReadiness
Auto Trait Implementations§
impl Freeze for ModelReadiness
impl RefUnwindSafe for ModelReadiness
impl Send for ModelReadiness
impl Sync for ModelReadiness
impl Unpin for ModelReadiness
impl UnsafeUnpin for ModelReadiness
impl UnwindSafe for ModelReadiness
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