#[repr(transparent)]pub struct C4WebSocketCloseCode(pub i32);Tuple Fields§
§0: i32Implementations§
Source§impl C4WebSocketCloseCode
impl C4WebSocketCloseCode
pub const kWebSocketCloseNormal: C4WebSocketCloseCode
pub const kWebSocketCloseGoingAway: C4WebSocketCloseCode
pub const kWebSocketCloseProtocolError: C4WebSocketCloseCode
pub const kWebSocketCloseDataError: C4WebSocketCloseCode
pub const kWebSocketCloseNoCode: C4WebSocketCloseCode
pub const kWebSocketCloseAbnormal: C4WebSocketCloseCode
pub const kWebSocketCloseBadMessageFormat: C4WebSocketCloseCode
pub const kWebSocketClosePolicyError: C4WebSocketCloseCode
pub const kWebSocketCloseMessageTooBig: C4WebSocketCloseCode
pub const kWebSocketCloseMissingExtension: C4WebSocketCloseCode
pub const kWebSocketCloseCantFulfill: C4WebSocketCloseCode
pub const kWebSocketCloseTLSFailure: C4WebSocketCloseCode
pub const kWebSocketCloseAppTransient: C4WebSocketCloseCode
pub const kWebSocketCloseAppPermanent: C4WebSocketCloseCode
pub const kWebSocketCloseFirstAvailable: C4WebSocketCloseCode
Trait Implementations§
Source§impl Clone for C4WebSocketCloseCode
impl Clone for C4WebSocketCloseCode
Source§fn clone(&self) -> C4WebSocketCloseCode
fn clone(&self) -> C4WebSocketCloseCode
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 C4WebSocketCloseCode
impl Debug for C4WebSocketCloseCode
Source§impl Hash for C4WebSocketCloseCode
impl Hash for C4WebSocketCloseCode
Source§impl PartialEq for C4WebSocketCloseCode
impl PartialEq for C4WebSocketCloseCode
impl Copy for C4WebSocketCloseCode
impl Eq for C4WebSocketCloseCode
impl StructuralPartialEq for C4WebSocketCloseCode
Auto Trait Implementations§
impl Freeze for C4WebSocketCloseCode
impl RefUnwindSafe for C4WebSocketCloseCode
impl Send for C4WebSocketCloseCode
impl Sync for C4WebSocketCloseCode
impl Unpin for C4WebSocketCloseCode
impl UnwindSafe for C4WebSocketCloseCode
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