Struct ratchet_ext::RsvBits
source · [−]Expand description
A structure containing the bits that an extension may set high during a session.
If any bits are received by a peer during a session that are different to what this structure returns then the session is failed.
Fields
rsv1: bool
Whether rsv1
is allowed to be high.
rsv2: bool
Whether rsv2
is allowed to be high.
rsv3: bool
Whether rsv3
is allowed to be high.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for RsvBits
impl Send for RsvBits
impl Sync for RsvBits
impl Unpin for RsvBits
impl UnwindSafe for RsvBits
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more