pub struct ReceiveAuthKey(pub [u8; 32]);Expand description
A secret key used to authenticate message contexts in received BlindedMessagePaths.
This key ensures that a node only accepts incoming messages delivered through blinded paths that it constructed itself.
Tuple Fields§
§0: [u8; 32]Trait Implementations§
Source§impl Clone for ReceiveAuthKey
impl Clone for ReceiveAuthKey
Source§fn clone(&self) -> ReceiveAuthKey
fn clone(&self) -> ReceiveAuthKey
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl PartialEq for ReceiveAuthKey
impl PartialEq for ReceiveAuthKey
impl Copy for ReceiveAuthKey
impl Eq for ReceiveAuthKey
impl StructuralPartialEq for ReceiveAuthKey
Auto Trait Implementations§
impl Freeze for ReceiveAuthKey
impl RefUnwindSafe for ReceiveAuthKey
impl Send for ReceiveAuthKey
impl Sync for ReceiveAuthKey
impl Unpin for ReceiveAuthKey
impl UnwindSafe for ReceiveAuthKey
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