[][src]Enum ca_rules::ParseRuleError

pub enum ParseRuleError {
    Missing(char),
    MissingNumber,
    Unexpected(char),
    ExtraJunk,
    GenLessThan2,
    NotMapRule,
    Base64Error,
    InvalidLength,
}

Errors that can be returned when parsing rule strings.

Variants

Missing(char)

Missing an expected char

MissingNumber

Missing an expected number

Unexpected(char)

An unexpected char

ExtraJunk

Extra unparsed junk at the end of the rule string

GenLessThan2

Number of states less than 2 in Generations rule

NotMapRule

Not a MAP rule

Base64Error

An error occurs when decoding the base64 string

InvalidLength

Invalid length for MAP rule

Trait Implementations

impl Eq for ParseRuleError[src]

impl Clone for ParseRuleError[src]

impl PartialEq<ParseRuleError> for ParseRuleError[src]

impl Debug for ParseRuleError[src]

impl Display for ParseRuleError[src]

impl Error for ParseRuleError[src]

Auto Trait Implementations

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

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

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.

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

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

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