pub struct ConnectionKey(pub u32);
Expand description
Identifier for each connected event stream listener (one per client tab).
Tuple Fields§
§0: u32
Trait Implementations§
Source§impl Clone for ConnectionKey
impl Clone for ConnectionKey
Source§fn clone(&self) -> ConnectionKey
fn clone(&self) -> ConnectionKey
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 Debug for ConnectionKey
impl Debug for ConnectionKey
Source§impl<'de> Deserialize<'de> for ConnectionKey
impl<'de> Deserialize<'de> for ConnectionKey
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 Hash for ConnectionKey
impl Hash for ConnectionKey
Source§impl PartialEq for ConnectionKey
impl PartialEq for ConnectionKey
Source§impl Serialize for ConnectionKey
impl Serialize for ConnectionKey
impl Copy for ConnectionKey
impl Eq for ConnectionKey
impl StructuralPartialEq for ConnectionKey
Auto Trait Implementations§
impl Freeze for ConnectionKey
impl RefUnwindSafe for ConnectionKey
impl Send for ConnectionKey
impl Sync for ConnectionKey
impl Unpin for ConnectionKey
impl UnwindSafe for ConnectionKey
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