WIP: more p2p code, mostly interaction between peer, protocol and server as well as ser/deser for first message types.
This commit is contained in:
@@ -33,6 +33,8 @@ pub enum Error {
|
||||
expected: Vec<u8>,
|
||||
received: Vec<u8>,
|
||||
},
|
||||
/// Data wasn't in a consumable format
|
||||
CorruptedData,
|
||||
/// When asked to read too much data
|
||||
TooLargeReadErr(String),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user