pub enum DecodeMode {
Strict,
Lenient,
}Expand description
How strictly to interpret a MONITOR body’s bitset layout.
Variants§
Strict
Specification order only: changed bitset, data, overrun bitset. Use this on live connections, where the introspection is known.
Lenient
Try every known layout and pick the most plausible. For mid-stream packet captures where the peer’s layout is unknown.
Nothing in this workspace uses it; it is public API for out-of-tree consumers talking to implementations that disagree about where the overrun bitset goes.
Trait Implementations§
Source§impl Clone for DecodeMode
impl Clone for DecodeMode
Source§fn clone(&self) -> DecodeMode
fn clone(&self) -> DecodeMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DecodeMode
Source§impl Debug for DecodeMode
impl Debug for DecodeMode
impl Eq for DecodeMode
Source§impl PartialEq for DecodeMode
impl PartialEq for DecodeMode
impl StructuralPartialEq for DecodeMode
Auto Trait Implementations§
impl Freeze for DecodeMode
impl RefUnwindSafe for DecodeMode
impl Send for DecodeMode
impl Sync for DecodeMode
impl Unpin for DecodeMode
impl UnsafeUnpin for DecodeMode
impl UnwindSafe for DecodeMode
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