Enum websocket_std::ffi::common::WSStatus
source · #[repr(C)]pub enum WSStatus {
OK = 0,
UnreachableHost = 1,
HandShake = 2,
InvalidFrame = 3,
ConnectionClose = 4,
DecodingFromUTF8 = 5,
IOError = 6,
}
Variants§
OK = 0
UnreachableHost = 1
HandShake = 2
InvalidFrame = 3
ConnectionClose = 4
DecodingFromUTF8 = 5
IOError = 6
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for WSStatus
impl Send for WSStatus
impl Sync for WSStatus
impl Unpin for WSStatus
impl UnwindSafe for WSStatus
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