pub enum MemoryThreshold {
Gb4,
Gb8,
Gb16,
Gb32,
Gb64,
}Expand description
Minimum system RAM required for a model.
Generated by build.rs from registry TOML files.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for MemoryThreshold
impl Clone for MemoryThreshold
Source§fn clone(&self) -> MemoryThreshold
fn clone(&self) -> MemoryThreshold
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 MemoryThreshold
impl Debug for MemoryThreshold
Source§impl<'de> Deserialize<'de> for MemoryThreshold
impl<'de> Deserialize<'de> for MemoryThreshold
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 Serialize for MemoryThreshold
impl Serialize for MemoryThreshold
impl Copy for MemoryThreshold
Auto Trait Implementations§
impl Freeze for MemoryThreshold
impl RefUnwindSafe for MemoryThreshold
impl Send for MemoryThreshold
impl Sync for MemoryThreshold
impl Unpin for MemoryThreshold
impl UnsafeUnpin for MemoryThreshold
impl UnwindSafe for MemoryThreshold
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