pub enum Toggle {
Default,
On,
Off,
}Expand description
A native tri-state setting whose default is resolved by vllm.cpp.
Variants§
Default
Let vllm.cpp resolve the model or environment default.
On
Force the feature on.
Off
Force the feature off.
Trait Implementations§
impl Copy for Toggle
impl Eq for Toggle
impl StructuralPartialEq for Toggle
Auto Trait Implementations§
impl Freeze for Toggle
impl RefUnwindSafe for Toggle
impl Send for Toggle
impl Sync for Toggle
impl Unpin for Toggle
impl UnsafeUnpin for Toggle
impl UnwindSafe for Toggle
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