pub struct ParticipantSession { /* private fields */ }Expand description
Participant capability negotiated on one authenticated connection.
Implementations§
Source§impl ParticipantSession
impl ParticipantSession
Sourcepub const fn negotiate_v1(&mut self, limit: ValidatedFrameLimit)
pub const fn negotiate_v1(&mut self, limit: ValidatedFrameLimit)
Stores the server’s supported v1 capability and normalized configured complete-frame limit after a successful handshake.
Trait Implementations§
Source§impl Clone for ParticipantSession
impl Clone for ParticipantSession
Source§fn clone(&self) -> ParticipantSession
fn clone(&self) -> ParticipantSession
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ParticipantSession
Source§impl Debug for ParticipantSession
impl Debug for ParticipantSession
Source§impl Default for ParticipantSession
impl Default for ParticipantSession
impl Eq for ParticipantSession
Source§impl PartialEq for ParticipantSession
impl PartialEq for ParticipantSession
impl StructuralPartialEq for ParticipantSession
Auto Trait Implementations§
impl Freeze for ParticipantSession
impl RefUnwindSafe for ParticipantSession
impl Send for ParticipantSession
impl Sync for ParticipantSession
impl Unpin for ParticipantSession
impl UnsafeUnpin for ParticipantSession
impl UnwindSafe for ParticipantSession
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.