pub struct FrameFlags {
pub control: bool,
pub priority: bool,
pub encrypted: bool,
}Expand description
Flags that modify how a frame is processed.
Fields§
§control: boolThis is a control frame (ping, pong, close).
priority: boolHigh priority — should bypass normal processing queues.
encrypted: boolPayload is encrypted with the session’s ChaCha20-Poly1305 cipher.
Trait Implementations§
Source§impl Clone for FrameFlags
impl Clone for FrameFlags
Source§fn clone(&self) -> FrameFlags
fn clone(&self) -> FrameFlags
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FrameFlags
impl Debug for FrameFlags
Source§impl Default for FrameFlags
impl Default for FrameFlags
Source§fn default() -> FrameFlags
fn default() -> FrameFlags
Returns the “default value” for a type. Read more
Source§impl PartialEq for FrameFlags
impl PartialEq for FrameFlags
impl Copy for FrameFlags
impl Eq for FrameFlags
impl StructuralPartialEq for FrameFlags
Auto Trait Implementations§
impl Freeze for FrameFlags
impl RefUnwindSafe for FrameFlags
impl Send for FrameFlags
impl Sync for FrameFlags
impl Unpin for FrameFlags
impl UnsafeUnpin for FrameFlags
impl UnwindSafe for FrameFlags
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