Make inner value of llmp Flags pub (#1725)

This commit is contained in:
Andreas 2023-12-15 12:58:05 +01:00 committed by GitHub
parent 002656b076
commit 2f036b72e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -202,7 +202,7 @@ pub struct BrokerId(pub u32);
/// The flags, indicating, for example, enabled compression.
#[repr(transparent)]
#[derive(Copy, Clone, PartialEq, Eq, Hash, Serialize, Deserialize)]
pub struct Flags(u32);
pub struct Flags(pub u32);
impl Debug for Flags {
fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {