[][src]Enum ckb_network::errors::Error

pub enum Error {
    Peer(PeerError),
    Io(IoError),
    P2P(P2PError),
    Addr(AddrError),
    Dial(String),
    PeerStore(PeerStoreError),
}

All error on network module

Variants

Peer(PeerError)

Peer error

Io error

Error from tentacle

Addr(AddrError)

Address error

Dial(String)

Dail error

PeerStore(PeerStoreError)

Peer store error

Trait Implementations

impl Debug for Error[src]

impl Display for Error[src]

impl From<AddrError> for Error[src]

impl From<DialerErrorKind> for Error[src]

impl From<Error> for Error[src]

impl From<ListenErrorKind> for Error[src]

impl From<P2PError> for Error[src]

impl From<PeerError> for Error[src]

impl From<PeerStoreError> for Error[src]

impl From<ProtocolHandleErrorKind> for Error[src]

impl From<SendErrorKind> for Error[src]

impl From<TransportErrorKind> for Error[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> AsAny for T where
    T: Any

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Erased for T

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,