pub struct WrapContext {
pub community_id: CommunityId,
pub channel_id: ChannelId,
pub sender_member: MemberId,
pub sender_session: VoiceSessionId,
pub epoch: u32,
}Expand description
Who wraps, for which channel and epoch: bound into the HPKE info.
Fields§
§community_id: CommunityIdThe community.
channel_id: ChannelIdThe voice channel.
sender_member: MemberIdThe sender.
sender_session: VoiceSessionIdThe sender’s voice session.
epoch: u32The sender’s epoch.
Trait Implementations§
Source§impl Clone for WrapContext
impl Clone for WrapContext
Source§fn clone(&self) -> WrapContext
fn clone(&self) -> WrapContext
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 WrapContext
Source§impl Debug for WrapContext
impl Debug for WrapContext
impl Eq for WrapContext
Source§impl PartialEq for WrapContext
impl PartialEq for WrapContext
impl StructuralPartialEq for WrapContext
Auto Trait Implementations§
impl Freeze for WrapContext
impl RefUnwindSafe for WrapContext
impl Send for WrapContext
impl Sync for WrapContext
impl Unpin for WrapContext
impl UnsafeUnpin for WrapContext
impl UnwindSafe for WrapContext
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