pub struct AutoOffloadConfig {
pub enabled: bool,
pub calibrate: bool,
pub profile_path: Option<PathBuf>,
pub log_level: AutoOffloadLogLevel,
}Expand description
Auto-offload planner configuration
Fields§
§enabled: bool§calibrate: bool§profile_path: Option<PathBuf>§log_level: AutoOffloadLogLevelTrait Implementations§
Source§impl Clone for AutoOffloadConfig
impl Clone for AutoOffloadConfig
Source§fn clone(&self) -> AutoOffloadConfig
fn clone(&self) -> AutoOffloadConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 AutoOffloadConfig
impl Debug for AutoOffloadConfig
Source§impl Default for AutoOffloadConfig
impl Default for AutoOffloadConfig
Source§impl<'de> Deserialize<'de> for AutoOffloadConfig
impl<'de> Deserialize<'de> for AutoOffloadConfig
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
Auto Trait Implementations§
impl Freeze for AutoOffloadConfig
impl RefUnwindSafe for AutoOffloadConfig
impl Send for AutoOffloadConfig
impl Sync for AutoOffloadConfig
impl Unpin for AutoOffloadConfig
impl UnsafeUnpin for AutoOffloadConfig
impl UnwindSafe for AutoOffloadConfig
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