Enum libp2p::core::upgrade::ReadOneError [−][src]
Expand description
Error while reading one message.
Variants
Io(Error)Error on the socket.
Requested data is over the maximum allowed size.
Show fields
Trait Implementations
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for ReadOneErrorimpl Send for ReadOneErrorimpl Sync for ReadOneErrorimpl Unpin for ReadOneErrorimpl !UnwindSafe for ReadOneErrorBlanket Implementations
pub fn as_fail(&self) -> &(dyn Fail + 'static)
pub fn as_fail(&self) -> &(dyn Fail + 'static)Converts a reference to Self into a dynamic trait object of Fail.
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V