pub enum CatalogRow<'a> {
Absent,
Kindless,
Kind(&'a str),
}Expand description
What the runner’s catalog says about the requested model. Three cases, so a row that states no kind is never mistaken for a missing row.
Variants§
Absent
The catalog has no row for the model.
Kindless
The row exists and states no kind.
Kind(&'a str)
The row states this kind.
Trait Implementations§
Source§impl<'a> Clone for CatalogRow<'a>
impl<'a> Clone for CatalogRow<'a>
Source§fn clone(&self) -> CatalogRow<'a>
fn clone(&self) -> CatalogRow<'a>
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 moreimpl<'a> Copy for CatalogRow<'a>
Source§impl<'a> Debug for CatalogRow<'a>
impl<'a> Debug for CatalogRow<'a>
impl<'a> Eq for CatalogRow<'a>
Source§impl<'a> PartialEq for CatalogRow<'a>
impl<'a> PartialEq for CatalogRow<'a>
impl<'a> StructuralPartialEq for CatalogRow<'a>
Auto Trait Implementations§
impl<'a> Freeze for CatalogRow<'a>
impl<'a> RefUnwindSafe for CatalogRow<'a>
impl<'a> Send for CatalogRow<'a>
impl<'a> Sync for CatalogRow<'a>
impl<'a> Unpin for CatalogRow<'a>
impl<'a> UnsafeUnpin for CatalogRow<'a>
impl<'a> UnwindSafe for CatalogRow<'a>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.