pub struct AeadNonce(pub ByteArray12);Expand description
Cryptographic and Timestamp data types
A representation of a 12 byte ChaCha AEAD Nonce
default constant time equality checks, hex fmt::Debug and hex fmt::Display,
and an implementation for Borsh encoding that ensure
no two binary representations that deserialize into the same object
and a possibly smaller code size compared to serde binary representations.
Tuple Fields§
§0: ByteArray12Trait Implementations§
Source§impl BorshDeserialize for AeadNonce
impl BorshDeserialize for AeadNonce
Source§impl BorshSerialize for AeadNonce
impl BorshSerialize for AeadNonce
Source§impl Ord for AeadNonce
impl Ord for AeadNonce
Source§impl PartialOrd for AeadNonce
impl PartialOrd for AeadNonce
impl Copy for AeadNonce
impl Eq for AeadNonce
Auto Trait Implementations§
impl Freeze for AeadNonce
impl RefUnwindSafe for AeadNonce
impl Send for AeadNonce
impl Sync for AeadNonce
impl Unpin for AeadNonce
impl UnwindSafe for AeadNonce
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