Struct event_stream_types::ConnectionSessionKey
source · pub struct ConnectionSessionKey { /* private fields */ }
Implementations§
source§impl ConnectionSessionKey
impl ConnectionSessionKey
pub fn new(session_key: Uuid, connection_key: SocketAddr) -> Self
Trait Implementations§
source§impl Clone for ConnectionSessionKey
impl Clone for ConnectionSessionKey
source§fn clone(&self) -> ConnectionSessionKey
fn clone(&self) -> ConnectionSessionKey
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 ConnectionSessionKey
impl Debug for ConnectionSessionKey
source§impl Hash for ConnectionSessionKey
impl Hash for ConnectionSessionKey
source§impl PartialEq for ConnectionSessionKey
impl PartialEq for ConnectionSessionKey
source§fn eq(&self, other: &ConnectionSessionKey) -> bool
fn eq(&self, other: &ConnectionSessionKey) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ConnectionSessionKey
impl StructuralPartialEq for ConnectionSessionKey
Auto Trait Implementations§
impl Freeze for ConnectionSessionKey
impl RefUnwindSafe for ConnectionSessionKey
impl Send for ConnectionSessionKey
impl Sync for ConnectionSessionKey
impl Unpin for ConnectionSessionKey
impl UnwindSafe for ConnectionSessionKey
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.