[−][src]Enum ckb_network::errors::Error
All error on network module
Variants
Peer(PeerError)
Peer error
Io(IoError)
Io error
P2P(P2PError)
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]
pub fn from(err: DialerErrorKind) -> Error
[src]
impl From<Error> for Error
[src]
impl From<ListenErrorKind> for Error
[src]
pub fn from(err: ListenErrorKind) -> Error
[src]
impl From<P2PError> for Error
[src]
impl From<PeerError> for Error
[src]
impl From<PeerStoreError> for Error
[src]
pub fn from(err: PeerStoreError) -> Error
[src]
impl From<ProtocolHandleErrorKind> for Error
[src]
pub fn from(err: ProtocolHandleErrorKind) -> Error
[src]
impl From<SendErrorKind> for Error
[src]
pub fn from(err: SendErrorKind) -> Error
[src]
impl From<TransportErrorKind> for Error
[src]
pub fn from(err: TransportErrorKind) -> Error
[src]
Auto Trait Implementations
impl !RefUnwindSafe for Error
[src]
impl Send for Error
[src]
impl Sync for Error
[src]
impl Unpin for Error
[src]
impl !UnwindSafe for Error
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> AsAny for T where
T: Any,
T: Any,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[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]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,