pub struct EciesCipher<C: Curve> { /* private fields */ }Expand description
An ECIES encrypted cipher. Contains the ciphertext’s bytes as well as the ephemeral public key
Trait Implementations§
Source§impl<C: Clone + Curve> Clone for EciesCipher<C>
impl<C: Clone + Curve> Clone for EciesCipher<C>
Source§fn clone(&self) -> EciesCipher<C>
fn clone(&self) -> EciesCipher<C>
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<'de, C: Curve> Deserialize<'de> for EciesCipher<C>where
C::Point: Deserialize<'de>,
impl<'de, C: Curve> Deserialize<'de> for EciesCipher<C>where
C::Point: Deserialize<'de>,
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
Auto Trait Implementations§
impl<C> Freeze for EciesCipher<C>
impl<C> RefUnwindSafe for EciesCipher<C>
impl<C> Send for EciesCipher<C>
impl<C> Sync for EciesCipher<C>
impl<C> Unpin for EciesCipher<C>
impl<C> UnwindSafe for EciesCipher<C>
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