Struct elastic_elgamal::Keypair
source · [−]pub struct Keypair<G: Group> { /* private fields */ }
Expand description
Implementations
Trait Implementations
sourceimpl<'de, G: Group> Deserialize<'de> for Keypair<G>
impl<'de, G: Group> Deserialize<'de> for Keypair<G>
sourcefn 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<G> RefUnwindSafe for Keypair<G> where
<G as ElementOps>::Element: RefUnwindSafe,
<G as ScalarOps>::Scalar: RefUnwindSafe,
impl<G> Send for Keypair<G> where
<G as ElementOps>::Element: Send,
<G as ScalarOps>::Scalar: Send,
impl<G> Sync for Keypair<G> where
<G as ElementOps>::Element: Sync,
<G as ScalarOps>::Scalar: Sync,
impl<G> Unpin for Keypair<G> where
<G as ElementOps>::Element: Unpin,
<G as ScalarOps>::Scalar: Unpin,
impl<G> UnwindSafe for Keypair<G> where
<G as ElementOps>::Element: UnwindSafe,
<G as ScalarOps>::Scalar: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more