Struct safe_zk_token_sdk::zk_token_elgamal::pod::DecryptHandle
source · #[repr(transparent)]pub struct DecryptHandle(pub [u8; 32]);
Tuple Fields§
§0: [u8; 32]
Trait Implementations§
source§impl Clone for DecryptHandle
impl Clone for DecryptHandle
source§fn clone(&self) -> DecryptHandle
fn clone(&self) -> DecryptHandle
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 DecryptHandle
impl Debug for DecryptHandle
source§impl Default for DecryptHandle
impl Default for DecryptHandle
source§fn default() -> DecryptHandle
fn default() -> DecryptHandle
Returns the “default value” for a type. Read more
source§impl From<DecryptHandle> for CompressedRistretto
impl From<DecryptHandle> for CompressedRistretto
source§fn from(pod: DecryptHandle) -> Self
fn from(pod: DecryptHandle) -> Self
Converts to this type from the input type.
source§impl From<DecryptHandle> for DecryptHandle
impl From<DecryptHandle> for DecryptHandle
source§fn from(handle: DecryptHandle) -> Self
fn from(handle: DecryptHandle) -> Self
Converts to this type from the input type.
source§impl From<DecryptHandle> for PodRistrettoPoint
impl From<DecryptHandle> for PodRistrettoPoint
source§fn from(handle: DecryptHandle) -> Self
fn from(handle: DecryptHandle) -> Self
Converts to this type from the input type.
source§impl From<PodRistrettoPoint> for DecryptHandle
impl From<PodRistrettoPoint> for DecryptHandle
source§fn from(point: PodRistrettoPoint) -> Self
fn from(point: PodRistrettoPoint) -> Self
Converts to this type from the input type.
source§impl PartialEq<DecryptHandle> for DecryptHandle
impl PartialEq<DecryptHandle> for DecryptHandle
source§fn eq(&self, other: &DecryptHandle) -> bool
fn eq(&self, other: &DecryptHandle) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<DecryptHandle> for DecryptHandle
impl TryFrom<DecryptHandle> for DecryptHandle
§type Error = ProofError
type Error = ProofError
The type returned in the event of a conversion error.
impl Copy for DecryptHandle
impl Eq for DecryptHandle
impl Pod for DecryptHandle
impl StructuralEq for DecryptHandle
impl StructuralPartialEq for DecryptHandle
Auto Trait Implementations§
impl RefUnwindSafe for DecryptHandle
impl Send for DecryptHandle
impl Sync for DecryptHandle
impl Unpin for DecryptHandle
impl UnwindSafe for DecryptHandle
Blanket Implementations§
source§impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere T: AnyBitPattern,
§type Bits = T
type Bits = T
Self
must have the same layout as the specified Bits
except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern
.source§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self
.