[][src]Enum versions::Sep

pub enum Sep {
    Colon,
    Hyphen,
    Plus,
    Underscore,
}

Symbols that separate groups of digits/letters in a version number. Used in the Mess type.

These are:

  • A colon (:). Often denotes an "epoch".
  • A hyphen (-).
  • A plus (+). Stop using this outside of metadata if you are. Example: 10.2+0.93+1-1
  • An underscore (_). Stop using this if you are.

Variants

Colon
Hyphen
Plus
Underscore

Trait Implementations

impl Clone for Sep[src]

impl Debug for Sep[src]

impl Display for Sep[src]

impl Eq for Sep[src]

impl Hash for Sep[src]

impl PartialEq<Sep> for Sep[src]

impl StructuralEq for Sep[src]

impl StructuralPartialEq for Sep[src]

Auto Trait Implementations

impl RefUnwindSafe for Sep

impl Send for Sep

impl Sync for Sep

impl Unpin for Sep

impl UnwindSafe for Sep

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.