pub enum CapabilityKnowledge<T> {
Known(T),
Representative {
values: T,
reason: String,
},
Unknown {
reason: String,
},
}Expand description
Possible values for CapabilityKnowledge.
Variants§
Known(T)
The Known variant.
Representative
A bounded sample of a backend capability space that also contains continuous or stepwise ranges.
Unknown
The Unknown variant.
Trait Implementations§
Source§impl<T: Clone> Clone for CapabilityKnowledge<T>
impl<T: Clone> Clone for CapabilityKnowledge<T>
Source§fn clone(&self) -> CapabilityKnowledge<T>
fn clone(&self) -> CapabilityKnowledge<T>
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<T: Debug> Debug for CapabilityKnowledge<T>
impl<T: Debug> Debug for CapabilityKnowledge<T>
impl<T: Eq> Eq for CapabilityKnowledge<T>
Source§impl<T: PartialEq> PartialEq for CapabilityKnowledge<T>
impl<T: PartialEq> PartialEq for CapabilityKnowledge<T>
impl<T: PartialEq> StructuralPartialEq for CapabilityKnowledge<T>
Auto Trait Implementations§
impl<T> Freeze for CapabilityKnowledge<T>where
T: Freeze,
impl<T> RefUnwindSafe for CapabilityKnowledge<T>where
T: RefUnwindSafe,
impl<T> Send for CapabilityKnowledge<T>where
T: Send,
impl<T> Sync for CapabilityKnowledge<T>where
T: Sync,
impl<T> Unpin for CapabilityKnowledge<T>where
T: Unpin,
impl<T> UnsafeUnpin for CapabilityKnowledge<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for CapabilityKnowledge<T>where
T: UnwindSafe,
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