pub enum DriveMode {
Performance,
Balanced,
Economy,
}Expand description
Drive mode controls the aggressiveness of transformations.
- Performance: minimal transforms, only enforce hard provider limits
- Balanced: moderate optimization, remove obvious waste (default)
- Economy: aggressive optimization, minimize token usage
Variants§
Trait Implementations§
impl Copy for DriveMode
Source§impl<'de> Deserialize<'de> for DriveMode
impl<'de> Deserialize<'de> for DriveMode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for DriveMode
impl StructuralPartialEq for DriveMode
Auto Trait Implementations§
impl Freeze for DriveMode
impl RefUnwindSafe for DriveMode
impl Send for DriveMode
impl Sync for DriveMode
impl Unpin for DriveMode
impl UnsafeUnpin for DriveMode
impl UnwindSafe for DriveMode
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