pub enum SenderScope {
Local,
Peer(PublicKey),
ClaimedMember(NodeHint),
}Expand description
The sender identity of a stream, as authenticated (or merely claimed) on the wire.
Variants§
Local
The local node.
Peer(PublicKey)
An individually authenticated peer (unicast or blind-unicast).
ClaimedMember(NodeHint)
A multicast channel member identified only by its claimed source hint; the channel MIC authenticates membership, not this identity.
Implementations§
Trait Implementations§
Source§impl Clone for SenderScope
impl Clone for SenderScope
Source§fn clone(&self) -> SenderScope
fn clone(&self) -> SenderScope
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SenderScope
impl Debug for SenderScope
Source§impl Hash for SenderScope
impl Hash for SenderScope
Source§impl PartialEq for SenderScope
impl PartialEq for SenderScope
impl Copy for SenderScope
impl Eq for SenderScope
impl StructuralPartialEq for SenderScope
Auto Trait Implementations§
impl Freeze for SenderScope
impl RefUnwindSafe for SenderScope
impl Send for SenderScope
impl Sync for SenderScope
impl Unpin for SenderScope
impl UnwindSafe for SenderScope
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)