[][src]Enum requiem_ioframe::ServiceError

pub enum ServiceError<E, U: Encoder + Decoder> {
    Service(E),
    Encoder(<U as Encoder>::Error),
    Decoder(<U as Decoder>::Error),
}

Framed service errors

Variants

Service(E)

Inner service error

Encoder(<U as Encoder>::Error)

Encoder parse error

Decoder(<U as Decoder>::Error)

Decoder parse error

Trait Implementations

impl<E, U: Encoder + Decoder> Debug for ServiceError<E, U> where
    E: Debug,
    <U as Encoder>::Error: Debug,
    <U as Decoder>::Error: Debug
[src]

impl<E, U: Encoder + Decoder> Display for ServiceError<E, U> where
    E: Display,
    <U as Encoder>::Error: Debug,
    <U as Decoder>::Error: Debug
[src]

impl<E, U: Encoder + Decoder> From<E> for ServiceError<E, U>[src]

Auto Trait Implementations

impl<E, U> RefUnwindSafe for ServiceError<E, U> where
    E: RefUnwindSafe,
    <U as Decoder>::Error: RefUnwindSafe,
    <U as Encoder>::Error: RefUnwindSafe

impl<E, U> Send for ServiceError<E, U> where
    E: Send,
    <U as Decoder>::Error: Send,
    <U as Encoder>::Error: Send

impl<E, U> Sync for ServiceError<E, U> where
    E: Sync,
    <U as Decoder>::Error: Sync,
    <U as Encoder>::Error: Sync

impl<E, U> Unpin for ServiceError<E, U> where
    E: Unpin,
    <U as Decoder>::Error: Unpin,
    <U as Encoder>::Error: Unpin

impl<E, U> UnwindSafe for ServiceError<E, U> where
    E: UnwindSafe,
    <U as Decoder>::Error: UnwindSafe,
    <U as Encoder>::Error: UnwindSafe

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<!> for T[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.