Enum libp2p_core::upgrade::ReadOneError [−][src]
👎 Deprecated since 0.29.0:
Use read_length_prefixed instead of read_one to avoid depending on this type.
Expand description
Error while reading one message.
Variants
Io(Error)👎 Deprecated since 0.29.0:
Use read_length_prefixed instead of read_one to avoid depending on this type.
Error on the socket.
👎 Deprecated since 0.29.0:
Use read_length_prefixed instead of read_one to avoid depending on this type.
Requested data is over the maximum allowed size.
Show fields
Fields of TooLarge
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for ReadOneErrorimpl Send for ReadOneErrorimpl Sync for ReadOneErrorimpl Unpin for ReadOneErrorimpl !UnwindSafe for ReadOneError