[][src]Enum cjdns_core::splice::SpliceError

pub enum SpliceError {
    LabelTooLong,
    NotEnoughArguments,
    BadArgument,
    CannotUnsplice,
    CannotFindForm,
    CannotReencode,
}

Routing label splice failure.

Variants

LabelTooLong

Label requires more bits than it is available in underlying LabelBits.

NotEnoughArguments

Array argument must contain at least 2 items.

BadArgument

Invalid function argument.

CannotUnsplice

Unable to unsplice because provided destination doesn't route through given mid path.

CannotFindForm

Can't find proper encoding form in encoding scheme: label is not recognized as using the given scheme.

CannotReencode

Label can't be re-encoded with the given form.

Trait Implementations

impl Debug for SpliceError[src]

impl Display for SpliceError[src]

impl Eq for SpliceError[src]

impl Error for SpliceError[src]

impl PartialEq<SpliceError> for SpliceError[src]

impl StructuralEq for SpliceError[src]

impl StructuralPartialEq for SpliceError[src]

Auto Trait Implementations

impl RefUnwindSafe for SpliceError

impl Send for SpliceError

impl Sync for SpliceError

impl Unpin for SpliceError

impl UnwindSafe for SpliceError

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.