pub enum WebSocketFramingSelection {
Auto,
Fixed(WebSocketWireFraming),
}Variants§
Auto
Fixed(WebSocketWireFraming)
Implementations§
Source§impl WebSocketFramingSelection
impl WebSocketFramingSelection
pub fn from_name( name: &str, ) -> Result<WebSocketFramingSelection, WebSocketFramingSelectionParseError>
pub const fn name(self) -> &'static str
pub const fn channel_tag_suffix(self) -> &'static [u8] ⓘ
pub const fn message_cap(self) -> usize
Trait Implementations§
Source§impl Clone for WebSocketFramingSelection
impl Clone for WebSocketFramingSelection
Source§fn clone(&self) -> WebSocketFramingSelection
fn clone(&self) -> WebSocketFramingSelection
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 WebSocketFramingSelection
Source§impl Debug for WebSocketFramingSelection
impl Debug for WebSocketFramingSelection
impl Eq for WebSocketFramingSelection
impl StructuralPartialEq for WebSocketFramingSelection
Auto Trait Implementations§
impl Freeze for WebSocketFramingSelection
impl RefUnwindSafe for WebSocketFramingSelection
impl Send for WebSocketFramingSelection
impl Sync for WebSocketFramingSelection
impl Unpin for WebSocketFramingSelection
impl UnsafeUnpin for WebSocketFramingSelection
impl UnwindSafe for WebSocketFramingSelection
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