mirror of
https://github.com/lightningdevkit/rust-lightning.git
synced 2025-02-24 23:08:36 +01:00
Export io::ErrorKind in bindings
The bindings have exported `io::Error` as, basically, `io::ErrorKind`, for quite some time, so there's little reason to not just export `io::ErrorKind` as well.
This commit is contained in:
parent
2e343e78ca
commit
2c69e05d5c
1 changed files with 1 additions and 2 deletions
|
@ -66,8 +66,7 @@ pub enum DecodeError {
|
|||
/// A length descriptor in the packet didn't describe the later data correctly
|
||||
BadLengthDescriptor,
|
||||
/// Error from std::io
|
||||
Io(/// (C-not exported) as ErrorKind doesn't have a reasonable mapping
|
||||
io::ErrorKind),
|
||||
Io(io::ErrorKind),
|
||||
/// The message included zlib-compressed values, which we don't support.
|
||||
UnsupportedCompression,
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue