pub struct WfbReceiver { /* private fields */ }Expand description
Encrypted WFB receiver for one channel.
Implementations§
Source§impl WfbReceiver
impl WfbReceiver
Sourcepub fn new(
channel_id: ChannelId,
keypair: WfbKeypair,
minimum_epoch: u64,
) -> Self
pub fn new( channel_id: ChannelId, keypair: WfbKeypair, minimum_epoch: u64, ) -> Self
Create a receiver for one channel and keypair.
Sourcepub fn session(&self) -> Option<&WfbSession>
pub fn session(&self) -> Option<&WfbSession>
Return the currently accepted WFB session, if any.
Sourcepub fn counters(&self) -> FecCounters
pub fn counters(&self) -> FecCounters
Return cumulative receive/FEC counters.
Trait Implementations§
Source§impl Clone for WfbReceiver
impl Clone for WfbReceiver
Source§fn clone(&self) -> WfbReceiver
fn clone(&self) -> WfbReceiver
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 moreAuto Trait Implementations§
impl Freeze for WfbReceiver
impl RefUnwindSafe for WfbReceiver
impl Send for WfbReceiver
impl Sync for WfbReceiver
impl Unpin for WfbReceiver
impl UnsafeUnpin for WfbReceiver
impl UnwindSafe for WfbReceiver
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