Enum unmp::link::ErrorKind[][src]

pub enum ErrorKind {
    NotFound,
    NotConnected,
    TimedOut,
    WouldBlock,
    InvalidData,
}

错误类型

Variants

NotFound

链路不存在

NotConnected

链路已断开

TimedOut

发送超时

WouldBlock

需要异步执行

InvalidData

无效的数据格式

Trait Implementations

impl Debug for ErrorKind[src]

Auto Trait Implementations

impl Send for ErrorKind

impl Sync for ErrorKind

impl Unpin for ErrorKind

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