pub struct Ciphertext { /* private fields */ }
Expand description
New owned buffer
Construct the reference version of this type through the algorithm API functions.
Optional support for serde
if that feature is enabled.
Implementations§
Trait Implementations§
source§impl AsRef<[u8]> for Ciphertext
impl AsRef<[u8]> for Ciphertext
source§impl Clone for Ciphertext
impl Clone for Ciphertext
source§fn clone(&self) -> Ciphertext
fn clone(&self) -> Ciphertext
Returns a copy 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 Ciphertext
impl Debug for Ciphertext
source§impl<'de> Deserialize<'de> for Ciphertext
impl<'de> Deserialize<'de> for Ciphertext
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<'a> From<&'a Ciphertext> for CiphertextRef<'a>
impl<'a> From<&'a Ciphertext> for CiphertextRef<'a>
source§fn from(buf: &'a Ciphertext) -> CiphertextRef<'a>
fn from(buf: &'a Ciphertext) -> CiphertextRef<'a>
Converts to this type from the input type.
source§impl PartialEq for Ciphertext
impl PartialEq for Ciphertext
source§impl Serialize for Ciphertext
impl Serialize for Ciphertext
impl Eq for Ciphertext
impl StructuralPartialEq for Ciphertext
Auto Trait Implementations§
impl Freeze for Ciphertext
impl RefUnwindSafe for Ciphertext
impl Send for Ciphertext
impl Sync for Ciphertext
impl Unpin for Ciphertext
impl UnwindSafe for Ciphertext
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)