pub enum WebSocketFrameOpcode {
Continuation,
Text,
Binary,
Close,
Ping,
Pong,
}Variants§
Trait Implementations§
Source§impl Clone for WebSocketFrameOpcode
impl Clone for WebSocketFrameOpcode
Source§fn clone(&self) -> WebSocketFrameOpcode
fn clone(&self) -> WebSocketFrameOpcode
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 moreSource§impl Debug for WebSocketFrameOpcode
impl Debug for WebSocketFrameOpcode
Source§impl PartialEq for WebSocketFrameOpcode
impl PartialEq for WebSocketFrameOpcode
Source§fn eq(&self, other: &WebSocketFrameOpcode) -> bool
fn eq(&self, other: &WebSocketFrameOpcode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for WebSocketFrameOpcode
impl Eq for WebSocketFrameOpcode
impl StructuralPartialEq for WebSocketFrameOpcode
Auto Trait Implementations§
impl Freeze for WebSocketFrameOpcode
impl RefUnwindSafe for WebSocketFrameOpcode
impl Send for WebSocketFrameOpcode
impl Sync for WebSocketFrameOpcode
impl Unpin for WebSocketFrameOpcode
impl UnsafeUnpin for WebSocketFrameOpcode
impl UnwindSafe for WebSocketFrameOpcode
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