pub struct PortalConfirmation(pub [u8; 42]);
Expand description
A data format exchanged by each peer to confirm that they have each derived the same key
Tuple Fields§
§0: [u8; 42]
Trait Implementations§
Source§impl Clone for PortalConfirmation
impl Clone for PortalConfirmation
Source§fn clone(&self) -> PortalConfirmation
fn clone(&self) -> PortalConfirmation
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 Debug for PortalConfirmation
impl Debug for PortalConfirmation
Source§impl<'de> Deserialize<'de> for PortalConfirmation
impl<'de> Deserialize<'de> for PortalConfirmation
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for PortalConfirmation
impl PartialEq for PortalConfirmation
Source§impl Serialize for PortalConfirmation
impl Serialize for PortalConfirmation
impl Copy for PortalConfirmation
impl Eq for PortalConfirmation
impl StructuralPartialEq for PortalConfirmation
Auto Trait Implementations§
impl Freeze for PortalConfirmation
impl RefUnwindSafe for PortalConfirmation
impl Send for PortalConfirmation
impl Sync for PortalConfirmation
impl Unpin for PortalConfirmation
impl UnwindSafe for PortalConfirmation
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