pub struct GbpFlags(pub u16);Expand description
Bit set on top of u16. Hand-rolled to keep gbp-core free of any
dependency tree.
Tuple Fields§
§0: u16Implementations§
Source§impl GbpFlags
impl GbpFlags
Sourcepub const fn ordered_reliable_ack() -> u16
pub const fn ordered_reliable_ack() -> u16
O | R | A profile — chat / signaling messages.
Sourcepub const fn ordered_reliable_system() -> u16
pub const fn ordered_reliable_system() -> u16
O | R | S profile — control plane (system).
Sourcepub const fn ordered_only() -> u16
pub const fn ordered_only() -> u16
O profile — best-effort ordered (voice and other real-time media).
Trait Implementations§
impl Copy for GbpFlags
impl Eq for GbpFlags
impl StructuralPartialEq for GbpFlags
Auto Trait Implementations§
impl Freeze for GbpFlags
impl RefUnwindSafe for GbpFlags
impl Send for GbpFlags
impl Sync for GbpFlags
impl Unpin for GbpFlags
impl UnsafeUnpin for GbpFlags
impl UnwindSafe for GbpFlags
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more