#[non_exhaustive]pub enum WebsocketConnectionType {
Unknown,
Client,
Server,
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for WebsocketConnectionType
impl Clone for WebsocketConnectionType
Source§fn clone(&self) -> WebsocketConnectionType
fn clone(&self) -> WebsocketConnectionType
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 WebsocketConnectionType
impl Debug for WebsocketConnectionType
Source§impl Display for WebsocketConnectionType
impl Display for WebsocketConnectionType
Source§impl<'a> FromValue<'a> for WebsocketConnectionType
impl<'a> FromValue<'a> for WebsocketConnectionType
Source§type Checker = GenericValueTypeChecker<WebsocketConnectionType>
type Checker = GenericValueTypeChecker<WebsocketConnectionType>
Value type checker.
Source§unsafe fn from_value(value: &'a Value) -> Self
unsafe fn from_value(value: &'a Value) -> Self
Get the contained value from a
Value
. Read moreSource§impl Hash for WebsocketConnectionType
impl Hash for WebsocketConnectionType
Source§impl Ord for WebsocketConnectionType
impl Ord for WebsocketConnectionType
Source§fn cmp(&self, other: &WebsocketConnectionType) -> Ordering
fn cmp(&self, other: &WebsocketConnectionType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for WebsocketConnectionType
impl PartialEq for WebsocketConnectionType
Source§impl PartialOrd for WebsocketConnectionType
impl PartialOrd for WebsocketConnectionType
Source§impl StaticType for WebsocketConnectionType
impl StaticType for WebsocketConnectionType
Source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.Source§impl ToValue for WebsocketConnectionType
impl ToValue for WebsocketConnectionType
Source§impl ValueType for WebsocketConnectionType
impl ValueType for WebsocketConnectionType
Source§type Type = WebsocketConnectionType
type Type = WebsocketConnectionType
Type to get the
Type
from. Read moreimpl Copy for WebsocketConnectionType
impl Eq for WebsocketConnectionType
impl StructuralPartialEq for WebsocketConnectionType
Auto Trait Implementations§
impl Freeze for WebsocketConnectionType
impl RefUnwindSafe for WebsocketConnectionType
impl Send for WebsocketConnectionType
impl Sync for WebsocketConnectionType
impl Unpin for WebsocketConnectionType
impl UnwindSafe for WebsocketConnectionType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> ToSendValue for T
impl<T> ToSendValue for T
Source§fn to_send_value(&self) -> SendValue
fn to_send_value(&self) -> SendValue
Returns a
SendValue
clone of self
.