Enum ckb_network::errors::P2PError [−][src]
pub enum P2PError {
Transport(TransportErrorKind),
Protocol(ProtocolHandleErrorKind),
Dail(DialerErrorKind),
Listen(ListenErrorKind),
Send(SendErrorKind),
}Expand description
Error from tentacle
Variants
Transport(TransportErrorKind)Not support transport or some other error
Protocol(ProtocolHandleErrorKind)Handle panic or other error
Dail(DialerErrorKind)Dail error
Listen(ListenErrorKind)Listen error
Send(SendErrorKind)Net shutdown or too many messages blocked on
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for P2PError
impl Send for P2PError
impl Sync for P2PError
impl Unpin for P2PError
impl !UnwindSafe for P2PError
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,