pub struct RuntimeEnvironment {
pub fingerprint: String,
pub persistent: bool,
pub execution_context: String,
}Expand description
Supply extra tags for a deployment’s compiler flags and load/topology/power regime. Set these BEFORE constructing devices/starting inference; changing them live is unsupported.
Fields§
§fingerprint: StringCanonical backend/device/driver/build/runtime-options signature.
persistent: boolWhether a driver identity and compiled build identity permit disk reuse.
execution_context: StringDeployment-supplied regime, defaulting to isolated-single-device. The default does not establish actual isolation or topology.
Trait Implementations§
Source§impl Clone for RuntimeEnvironment
impl Clone for RuntimeEnvironment
Auto Trait Implementations§
impl Freeze for RuntimeEnvironment
impl RefUnwindSafe for RuntimeEnvironment
impl Send for RuntimeEnvironment
impl Sync for RuntimeEnvironment
impl Unpin for RuntimeEnvironment
impl UnsafeUnpin for RuntimeEnvironment
impl UnwindSafe for RuntimeEnvironment
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