pub struct BlockKey(pub [u8; 32]);
Expand description
Represents a 32 byte ChaCha20 key for encryption
Tuple Fields§
§0: [u8; 32]
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BlockKey
impl<'de> Deserialize<'de> for BlockKey
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 Ord for BlockKey
impl Ord for BlockKey
Source§impl PartialOrd for BlockKey
impl PartialOrd for BlockKey
impl Copy for BlockKey
impl Eq for BlockKey
impl StructuralPartialEq for BlockKey
Auto Trait Implementations§
impl Freeze for BlockKey
impl RefUnwindSafe for BlockKey
impl Send for BlockKey
impl Sync for BlockKey
impl Unpin for BlockKey
impl UnwindSafe for BlockKey
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