Skip to content

Commit 83f82a4

Browse files
author
Кирилл Безуглый
committed
feat: change network::protocol::codec::IProtoType representation to C
1 parent 8e942af commit 83f82a4

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
- Added optional argument timeout to `network::client::Client::connect_with_config`
1616

1717
### Changed
18+
- `network::protocol::codec::IProtoType` uses C language representation
1819

1920
### Fixed
2021
- `tlua::{Push, PushInto, LuaRead}` now work for HashSet & HashMap with custom hashers.

tarantool/src/network/protocol/codec.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ crate::define_enum_with_introspection! {
5656
/// See `enum iproto_type` in \<tarantool>/src/box/iproto_constants.h for source
5757
/// of truth.
5858
#[non_exhaustive]
59+
#[repr(C)]
5960
pub enum IProtoType {
6061
/// This packet is a response with status success.
6162
Ok = 0,

0 commit comments

Comments
 (0)