pub enum EdgeMode {
Standard,
Constrained,
UltraLow,
Mobile,
}Expand description
Edge computing mode
Variants§
Standard
Standard mode - no special constraints
Constrained
Constrained mode - limited memory, prefer streaming operators
UltraLow
Ultra-low mode - extreme memory limits, single-pass only
Mobile
Mobile mode - battery aware, network resilient
Implementations§
Source§impl EdgeMode
impl EdgeMode
Sourcepub fn memory_cost_multiplier(&self) -> f64
pub fn memory_cost_multiplier(&self) -> f64
Get the memory multiplier for cost estimation Lower means we penalize memory-heavy operations more
Sourcepub fn preferred_batch_size(&self) -> usize
pub fn preferred_batch_size(&self) -> usize
Get the preferred batch size for this mode
Trait Implementations§
impl Copy for EdgeMode
impl StructuralPartialEq for EdgeMode
Auto Trait Implementations§
impl Freeze for EdgeMode
impl RefUnwindSafe for EdgeMode
impl Send for EdgeMode
impl Sync for EdgeMode
impl Unpin for EdgeMode
impl UnsafeUnpin for EdgeMode
impl UnwindSafe for EdgeMode
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