pub struct NvidiaDriverConfig { /* private fields */ }Expand description
Optional fields left out are not managed.
Implementations§
Source§impl NvidiaDriverConfig
impl NvidiaDriverConfig
pub fn with_kernel_modules(self, kernel_modules: KernelModules) -> Self
Sourcepub fn with_latest_open_kernel_modules(self) -> Self
pub fn with_latest_open_kernel_modules(self) -> Self
Open kernel modules, newest driver branch (the default)
Sourcepub fn with_open_kernel_modules(self, branch: u32) -> Result<Self, RegentError>
pub fn with_open_kernel_modules(self, branch: u32) -> Result<Self, RegentError>
Open kernel modules, driver pinned to this branch (from 570 on)
Sourcepub fn with_proprietary_kernel_modules(
self,
branch: u32,
) -> Result<Self, RegentError>
pub fn with_proprietary_kernel_modules( self, branch: u32, ) -> Result<Self, RegentError>
Proprietary kernel modules, driver pinned to this branch (570 to 610)
pub fn with_cuda_toolkit(self, cuda_toolkit: CudaVersion) -> Self
pub fn with_persistence_mode(self, persistence_mode: bool) -> Self
Trait Implementations§
Source§impl Clone for NvidiaDriverConfig
impl Clone for NvidiaDriverConfig
Source§impl Debug for NvidiaDriverConfig
impl Debug for NvidiaDriverConfig
Source§impl Default for NvidiaDriverConfig
impl Default for NvidiaDriverConfig
Source§impl<'de> Deserialize<'de> for NvidiaDriverConfig
impl<'de> Deserialize<'de> for NvidiaDriverConfig
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
Source§impl PartialEq for NvidiaDriverConfig
impl PartialEq for NvidiaDriverConfig
Source§impl Serialize for NvidiaDriverConfig
impl Serialize for NvidiaDriverConfig
impl StructuralPartialEq for NvidiaDriverConfig
Auto Trait Implementations§
impl Freeze for NvidiaDriverConfig
impl RefUnwindSafe for NvidiaDriverConfig
impl Send for NvidiaDriverConfig
impl Sync for NvidiaDriverConfig
impl Unpin for NvidiaDriverConfig
impl UnsafeUnpin for NvidiaDriverConfig
impl UnwindSafe for NvidiaDriverConfig
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