Initial commit
This commit is contained in:
commit
0bbcab5727
24 changed files with 1416 additions and 0 deletions
6
common/Cargo.toml
Normal file
6
common/Cargo.toml
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
[package]
|
||||
name = "common"
|
||||
version = "0.1.0"
|
||||
edition = "2024"
|
||||
|
||||
[dependencies]
|
||||
12
common/src/lib.rs
Normal file
12
common/src/lib.rs
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
pub enum RegistryError {
|
||||
ReservedCommId(u8, String),
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug, PartialEq, Eq)]
|
||||
pub enum CodecError {
|
||||
UnknownVersion,
|
||||
UnknownCommunicationType(String),
|
||||
UnknownDataType(String),
|
||||
ReservedCommunicationType(u8),
|
||||
InvalidEncoding,
|
||||
}
|
||||
Loading…
Reference in a new issue