pub enum MinerCapability {
Embedding,
Reranking,
Inference,
Training,
Quantization,
Storage,
Custom(String),
}Expand description
AI compute capabilities a miner can offer
Variants§
Embedding
Text embeddings generation
Reranking
Document reranking
Inference
LLM inference
Training
Model fine-tuning
Quantization
GGUF quantization
Storage
Model storage/serving
Custom(String)
Custom compute
Trait Implementations§
Source§impl Clone for MinerCapability
impl Clone for MinerCapability
Source§fn clone(&self) -> MinerCapability
fn clone(&self) -> MinerCapability
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MinerCapability
impl Debug for MinerCapability
Source§impl<'de> Deserialize<'de> for MinerCapability
impl<'de> Deserialize<'de> for MinerCapability
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 MinerCapability
impl PartialEq for MinerCapability
Source§fn eq(&self, other: &MinerCapability) -> bool
fn eq(&self, other: &MinerCapability) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for MinerCapability
impl Serialize for MinerCapability
impl StructuralPartialEq for MinerCapability
Auto Trait Implementations§
impl Freeze for MinerCapability
impl RefUnwindSafe for MinerCapability
impl Send for MinerCapability
impl Sync for MinerCapability
impl Unpin for MinerCapability
impl UnsafeUnpin for MinerCapability
impl UnwindSafe for MinerCapability
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