Struct secp256kfun::marker::Secret
source · pub struct Secret;
Expand description
Indicates that the value is secret and therefore makes core operations executed on it to use constant time versions of the operations.
Trait Implementations§
source§impl<'__de> BorrowDecode<'__de> for Secret
impl<'__de> BorrowDecode<'__de> for Secret
source§fn borrow_decode<__D: BorrowDecoder<'__de>>(
decoder: &mut __D
) -> Result<Self, DecodeError>
fn borrow_decode<__D: BorrowDecoder<'__de>>( decoder: &mut __D ) -> Result<Self, DecodeError>
Attempt to decode this type with the given BorrowDecode.
source§impl<'de> Deserialize<'de> for Secret
impl<'de> Deserialize<'de> for Secret
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 Ord for Secret
impl Ord for Secret
source§impl PartialEq for Secret
impl PartialEq for Secret
source§impl PartialOrd for Secret
impl PartialOrd for Secret
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Secret
impl Eq for Secret
impl Secrecy for Secret
impl StructuralPartialEq for Secret
Auto Trait Implementations§
impl RefUnwindSafe for Secret
impl Send for Secret
impl Sync for Secret
impl Unpin for Secret
impl UnwindSafe for Secret
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