[][src]Enum cjdns_core::SchemeValidationError

pub enum SchemeValidationError {
    InvalidFormsAmount,
    SingleFormWithPrefix,
    MultiFormBadPrefix,
    BitCountNotSorted,
    DuplicatePrefix,
    TooBigForm,
}

Error returned when scheme validation fails

Variants

InvalidFormsAmount

Invalid scheme forms length. Should be in 1..32 range.

SingleFormWithPrefix

Scheme with single form must not have non-empty prefix value

MultiFormBadPrefix

Scheme with multiple forms must have non-empty prefix value

BitCountNotSorted

Multiple forms should have bit_count in ascending order

DuplicatePrefix

Multiple forms must have unique prefixes

TooBigForm

Encoding scheme cannot be represented in the usable space in a 64-bit label

Trait Implementations

impl Debug for SchemeValidationError[src]

impl Display for SchemeValidationError[src]

impl Eq for SchemeValidationError[src]

impl Error for SchemeValidationError[src]

impl PartialEq<SchemeValidationError> for SchemeValidationError[src]

impl StructuralEq for SchemeValidationError[src]

impl StructuralPartialEq for SchemeValidationError[src]

Auto Trait Implementations

impl RefUnwindSafe for SchemeValidationError

impl Send for SchemeValidationError

impl Sync for SchemeValidationError

impl Unpin for SchemeValidationError

impl UnwindSafe for SchemeValidationError

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> 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.