pub struct JoinContext {
pub attempt: u32,
pub is_rejoin: bool,
}Expand description
Information supplied when loading a channel’s join payload.
Fields§
§attempt: u32Zero-based join-attempt number for the current join cycle.
is_rejoin: boolWhether this join follows a prior successful join.
Trait Implementations§
Source§impl Clone for JoinContext
impl Clone for JoinContext
Source§fn clone(&self) -> JoinContext
fn clone(&self) -> JoinContext
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 moreSource§impl Debug for JoinContext
impl Debug for JoinContext
Source§impl PartialEq for JoinContext
impl PartialEq for JoinContext
Source§fn eq(&self, other: &JoinContext) -> bool
fn eq(&self, other: &JoinContext) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for JoinContext
impl Eq for JoinContext
impl StructuralPartialEq for JoinContext
Auto Trait Implementations§
impl Freeze for JoinContext
impl RefUnwindSafe for JoinContext
impl Send for JoinContext
impl Sync for JoinContext
impl Unpin for JoinContext
impl UnsafeUnpin for JoinContext
impl UnwindSafe for JoinContext
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