#[non_exhaustive]pub enum Model {
Lite,
Medium,
Large,
Xl,
}Expand description
The size of model an operation runs on.
It is #[non_exhaustive]: a match on it needs a _ arm, so a size added
later does not break an action that was already written.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Lite
The quickest and cheapest.
Medium
The middle of the range.
Large
The one to reach for when the answer has to be right.
Xl
The largest available.
Implementations§
Trait Implementations§
impl Copy for Model
impl Eq for Model
impl StructuralPartialEq for Model
Auto Trait Implementations§
impl Freeze for Model
impl RefUnwindSafe for Model
impl Send for Model
impl Sync for Model
impl Unpin for Model
impl UnsafeUnpin for Model
impl UnwindSafe for Model
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