pub enum ConnectionCloseTriggerFrameType {
Id(u64),
Text(String),
}Variants§
Trait Implementations§
Source§impl Clone for ConnectionCloseTriggerFrameType
impl Clone for ConnectionCloseTriggerFrameType
Source§fn clone(&self) -> ConnectionCloseTriggerFrameType
fn clone(&self) -> ConnectionCloseTriggerFrameType
Returns a copy 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<'de> Deserialize<'de> for ConnectionCloseTriggerFrameType
impl<'de> Deserialize<'de> for ConnectionCloseTriggerFrameType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<ConnectionCloseTriggerFrameType> for ConnectionCloseTriggerFrameType
impl From<ConnectionCloseTriggerFrameType> for ConnectionCloseTriggerFrameType
Source§fn from(value: ConnectionCloseTriggerFrameType) -> Self
fn from(value: ConnectionCloseTriggerFrameType) -> Self
Converts to this type from the input type.
Source§impl From<String> for ConnectionCloseTriggerFrameType
impl From<String> for ConnectionCloseTriggerFrameType
Source§impl From<u64> for ConnectionCloseTriggerFrameType
impl From<u64> for ConnectionCloseTriggerFrameType
Source§impl PartialEq for ConnectionCloseTriggerFrameType
impl PartialEq for ConnectionCloseTriggerFrameType
Source§fn eq(&self, other: &ConnectionCloseTriggerFrameType) -> bool
fn eq(&self, other: &ConnectionCloseTriggerFrameType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ConnectionCloseTriggerFrameType
impl StructuralPartialEq for ConnectionCloseTriggerFrameType
Auto Trait Implementations§
impl Freeze for ConnectionCloseTriggerFrameType
impl RefUnwindSafe for ConnectionCloseTriggerFrameType
impl Send for ConnectionCloseTriggerFrameType
impl Sync for ConnectionCloseTriggerFrameType
impl Unpin for ConnectionCloseTriggerFrameType
impl UnwindSafe for ConnectionCloseTriggerFrameType
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