mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore(net): enable rust.unnameable-types = "warn" lint (#9505)
This commit is contained in:
@ -81,7 +81,7 @@ pub enum ECIESErrorImpl {
|
||||
/// decode a message from the (partially filled) buffer.
|
||||
#[error("stream closed due to not being readable")]
|
||||
UnreadableStream,
|
||||
// Error when data is not received from peer for a prolonged period.
|
||||
/// Error when data is not received from peer for a prolonged period.
|
||||
#[error("never received data from remote peer")]
|
||||
StreamTimeout,
|
||||
}
|
||||
|
||||
@ -14,7 +14,7 @@ pub mod stream;
|
||||
pub mod util;
|
||||
|
||||
mod error;
|
||||
pub use error::ECIESError;
|
||||
pub use error::{ECIESError, ECIESErrorImpl};
|
||||
|
||||
pub mod codec;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user