Open 0xg0nz0 opened 7 months ago
This definition:
pub struct Message { pub offset: u64, pub state: MessageState, pub timestamp: u64, pub id: u128, pub checksum: u32, pub headers: Option<HashMap<HeaderKey, HeaderValue>>, pub length: u32, pub payload: Bytes, }
references a MessageState enum that is not defined. From the Rust source code it should be defined as:
MessageState
public enum MessageState { Available, // Value = 1 Unavailable, // Value = 10 Poisoned, // Value = 20 MarkedForDeletion // Value = 30 }
You're correct, will update :)
This definition:
references a
MessageState
enum that is not defined. From the Rust source code it should be defined as: