Struct netty_rs::Error[][src]

pub struct Error<E: HandlerError> {
    pub kind: ErrorKind<E>,
    pub msg: String,
}

Error returned by netty-rs

Fields

kind: ErrorKind<E>

The kind of error

msg: String

The message provided with the error

Trait Implementations

impl<E: Clone + HandlerError> Clone for Error<E>[src]

impl<E: Debug + HandlerError> Debug for Error<E>[src]

impl<E: Eq + HandlerError> Eq for Error<E>[src]

impl<T: HandlerError> From<T> for Error<T>[src]

impl<E: Hash + HandlerError> Hash for Error<E>[src]

impl<E: Ord + HandlerError> Ord for Error<E>[src]

impl<E: PartialEq + HandlerError> PartialEq<Error<E>> for Error<E>[src]

impl<E: PartialOrd + HandlerError> PartialOrd<Error<E>> for Error<E>[src]

impl<E: HandlerError> StructuralEq for Error<E>[src]

impl<E: HandlerError> StructuralPartialEq for Error<E>[src]

Auto Trait Implementations

impl<E> RefUnwindSafe for Error<E> where
    E: RefUnwindSafe

impl<E> Send for Error<E>

impl<E> Sync for Error<E>

impl<E> Unpin for Error<E> where
    E: Unpin

impl<E> UnwindSafe for Error<E> where
    E: 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> HandlerError for T where
    T: Send + Sync + Debug + 'static + Clone
[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, 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<V, T> VZip<V> for T where
    V: MultiLane<T>,