pub enum HardwareMismatch {
NoGpu,
InsufficientVram {
required_gb: u32,
available_gb: u32,
},
CudaTooOld {
required: CudaVersion,
available: CudaVersion,
},
NoCuda {
required: CudaVersion,
},
InsufficientRam {
required_gb: f64,
available_gb: f64,
},
InsufficientDisk {
required_gb: f64,
available_gb: f64,
},
}Variants§
NoGpu
InsufficientVram
CudaTooOld
NoCuda
Fields
§
required: CudaVersionInsufficientRam
InsufficientDisk
Trait Implementations§
Source§impl Clone for HardwareMismatch
impl Clone for HardwareMismatch
Source§fn clone(&self) -> HardwareMismatch
fn clone(&self) -> HardwareMismatch
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 HardwareMismatch
impl Debug for HardwareMismatch
Auto Trait Implementations§
impl Freeze for HardwareMismatch
impl RefUnwindSafe for HardwareMismatch
impl Send for HardwareMismatch
impl Sync for HardwareMismatch
impl Unpin for HardwareMismatch
impl UnsafeUnpin for HardwareMismatch
impl UnwindSafe for HardwareMismatch
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