Enum ws::CloseCode
[−]
[src]
pub enum CloseCode { Normal, Away, Protocol, Unsupported, Status, Abnormal, Invalid, Policy, Size, Extension, Error, Restart, Again, Tls, Empty, Other(u16), }
Variants
Normal
Away
Protocol
Unsupported
Status
Abnormal
Invalid
Policy
Size
Extension
Error
Restart
Again
Tls
Empty
Other(u16)
Trait Implementations
impl Copy for CloseCode
[src]
impl Clone for CloseCode
[src]
fn clone(&self) -> CloseCode
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for CloseCode
[src]
fn eq(&self, __arg_0: &CloseCode) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &CloseCode) -> bool
This method tests for !=
.