pub struct IvAndCiphertext(pub Bytes);Expand description
These bytes are the IV + CIPHERTEXT.
Tuple Fields§
§0: BytesImplementations§
Trait Implementations§
Source§impl AsRef<[u8]> for IvAndCiphertext
impl AsRef<[u8]> for IvAndCiphertext
Source§impl Clone for IvAndCiphertext
impl Clone for IvAndCiphertext
Source§fn clone(&self) -> IvAndCiphertext
fn clone(&self) -> IvAndCiphertext
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 IvAndCiphertext
impl Debug for IvAndCiphertext
Source§impl Default for IvAndCiphertext
impl Default for IvAndCiphertext
Source§fn default() -> IvAndCiphertext
fn default() -> IvAndCiphertext
Returns the “default value” for a type. Read more
Source§impl From<Bytes> for IvAndCiphertext
impl From<Bytes> for IvAndCiphertext
Source§impl From<IvAndCiphertext> for Bytes
impl From<IvAndCiphertext> for Bytes
Source§fn from(p: IvAndCiphertext) -> Self
fn from(p: IvAndCiphertext) -> Self
Converts to this type from the input type.
Source§impl From<IvAndCiphertext> for EncryptedPayload
impl From<IvAndCiphertext> for EncryptedPayload
Source§fn from(value: IvAndCiphertext) -> Self
fn from(value: IvAndCiphertext) -> Self
Converts to this type from the input type.
Source§impl PartialEq for IvAndCiphertext
impl PartialEq for IvAndCiphertext
impl Eq for IvAndCiphertext
impl StructuralPartialEq for IvAndCiphertext
Auto Trait Implementations§
impl !Freeze for IvAndCiphertext
impl RefUnwindSafe for IvAndCiphertext
impl Send for IvAndCiphertext
impl Sync for IvAndCiphertext
impl Unpin for IvAndCiphertext
impl UnwindSafe for IvAndCiphertext
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> ToHex for T
impl<T> ToHex for T
Source§fn encode_hex<U>(&self) -> Uwhere
U: FromIterator<char>,
fn encode_hex<U>(&self) -> Uwhere
U: FromIterator<char>,
Encode the hex strict representing
self into the result. Lower case
letters are used (e.g. f9b4ca)Source§fn encode_hex_upper<U>(&self) -> Uwhere
U: FromIterator<char>,
fn encode_hex_upper<U>(&self) -> Uwhere
U: FromIterator<char>,
Encode the hex strict representing
self into the result. Upper case
letters are used (e.g. F9B4CA)