#[non_exhaustive]pub enum Cid {
Int,
Str,
Flt,
Uint,
Bool,
Cmd,
Pos,
Main,
Any,
Raw,
Fallback,
Name(String),
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Int
Create names: i, int, i64
Str
Create names: s, str, string
Flt
Create names: f, flt, f64
Uint
Create names: u, uint, u64
Bool
Create names: b, boolean, bool
Cmd
Create names: c, cmd
Pos
Create names: p, pos
Main
Create names: m, main
Any
Create names: a, any
Raw
Create names: r, raw
Fallback
Create names: fallback
Name(String)
Implementations§
Trait Implementations§
impl Eq for Cid
Source§impl<T: Opt + TryFrom<C, Error: Into<Error>>, C: ConfigValue + Debug> From<Cid> for Creator<T, C, Error>
impl<T: Opt + TryFrom<C, Error: Into<Error>>, C: ConfigValue + Debug> From<Cid> for Creator<T, C, Error>
Source§impl Ord for Cid
impl Ord for Cid
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for Cid
impl PartialOrd for Cid
impl StructuralPartialEq for Cid
Auto Trait Implementations§
impl Freeze for Cid
impl RefUnwindSafe for Cid
impl Send for Cid
impl Sync for Cid
impl Unpin for Cid
impl UnsafeUnpin for Cid
impl UnwindSafe for Cid
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