pub struct PeerStorageKey {
pub inner: [u8; 32],
}Expand description
Represents the secret key material used for encrypting Peer Storage.
Fields§
§inner: [u8; 32]Represents the key used to encrypt and decrypt Peer Storage.
Trait Implementations§
Source§impl Clone for PeerStorageKey
impl Clone for PeerStorageKey
Source§fn clone(&self) -> PeerStorageKey
fn clone(&self) -> PeerStorageKey
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 PeerStorageKey
impl PartialEq for PeerStorageKey
impl Copy for PeerStorageKey
impl Eq for PeerStorageKey
impl StructuralPartialEq for PeerStorageKey
Auto Trait Implementations§
impl Freeze for PeerStorageKey
impl RefUnwindSafe for PeerStorageKey
impl Send for PeerStorageKey
impl Sync for PeerStorageKey
impl Unpin for PeerStorageKey
impl UnwindSafe for PeerStorageKey
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