Make inner value of llmp Flags pub (#1725)
This commit is contained in:
parent
002656b076
commit
2f036b72e4
@ -202,7 +202,7 @@ pub struct BrokerId(pub u32);
|
|||||||
/// The flags, indicating, for example, enabled compression.
|
/// The flags, indicating, for example, enabled compression.
|
||||||
#[repr(transparent)]
|
#[repr(transparent)]
|
||||||
#[derive(Copy, Clone, PartialEq, Eq, Hash, Serialize, Deserialize)]
|
#[derive(Copy, Clone, PartialEq, Eq, Hash, Serialize, Deserialize)]
|
||||||
pub struct Flags(u32);
|
pub struct Flags(pub u32);
|
||||||
|
|
||||||
impl Debug for Flags {
|
impl Debug for Flags {
|
||||||
fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
|
fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user