pub struct WebSocketSessionFraming { /* private fields */ }Implementations§
Source§impl WebSocketSessionFraming
impl WebSocketSessionFraming
pub const fn new( selection: WebSocketFramingSelection, ) -> WebSocketSessionFraming
pub const fn raw_fallback_is_armed(&self) -> bool
pub const fn is_detecting(&self) -> bool
pub const fn can_read_outbound(&self) -> bool
pub const fn can_stage_multiple_outbound(&self) -> bool
pub const fn has_pending_outbound(&self) -> bool
pub fn stage_outbound( &mut self, packet: &[u8], ) -> WebSocketSessionOutboundAction
pub fn release_raw_fallback(&mut self) -> Option<WebSocketOutboundRelease>
pub fn next_frame_into( &mut self, input: &[u8], offset: &mut usize, sink: &mut dyn FrameSink, ) -> Result<WebSocketSessionFrameDecodeOutcome, DecodeError>
Auto Trait Implementations§
impl Freeze for WebSocketSessionFraming
impl RefUnwindSafe for WebSocketSessionFraming
impl Send for WebSocketSessionFraming
impl Sync for WebSocketSessionFraming
impl Unpin for WebSocketSessionFraming
impl UnsafeUnpin for WebSocketSessionFraming
impl UnwindSafe for WebSocketSessionFraming
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