This commit is contained in:
@@ -58,7 +58,7 @@ pub enum FieldType {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Build lookup map
|
// Build lookup map
|
||||||
type FuncMap = HashMap<u8, FunctionDescriptor>;
|
pub type FuncMap = HashMap<u8, FunctionDescriptor>;
|
||||||
|
|
||||||
fn parse_bytes_zero_copy(mut buf: BytesMut) -> Result<BytesMut> {
|
fn parse_bytes_zero_copy(mut buf: BytesMut) -> Result<BytesMut> {
|
||||||
let modbus = Modbus::default();
|
let modbus = Modbus::default();
|
||||||
|
|||||||
Reference in New Issue
Block a user