pub struct AeadTag(pub ByteArray16);Expand description
Cryptographic and Timestamp data types
A representation of a 16 byte ChaCha AEAD Tag
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: ByteArray16Trait Implementations§
Source§impl BorshDeserialize for AeadTag
impl BorshDeserialize for AeadTag
Source§impl BorshSerialize for AeadTag
impl BorshSerialize for AeadTag
Source§impl Ord for AeadTag
impl Ord for AeadTag
Source§impl PartialOrd for AeadTag
impl PartialOrd for AeadTag
impl Copy for AeadTag
impl Eq for AeadTag
Auto Trait Implementations§
impl Freeze for AeadTag
impl RefUnwindSafe for AeadTag
impl Send for AeadTag
impl Sync for AeadTag
impl Unpin for AeadTag
impl UnwindSafe for AeadTag
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