[]Struct recrypt::Revealed

pub struct Revealed<T>(pub T);

Marker struct to show potential weakness to side-channel attacks for normally secure types. Never wrapped around u8, u32, u64 as those are always assumed to be revealed.

Trait Implementations

impl PartialEq<Revealed<SigningKeypair>> for Revealed<SigningKeypair>

#[must_use] fn ne(&self, other: &Rhs) -> bool1.0.0[src]

This method tests for !=.

impl PartialEq<Revealed<DerivedSymmetricKey>> for Revealed<DerivedSymmetricKey>

#[must_use] fn ne(&self, other: &Rhs) -> bool1.0.0[src]

This method tests for !=.

impl PartialEq<Revealed<Plaintext>> for Revealed<Plaintext>

#[must_use] fn ne(&self, other: &Rhs) -> bool1.0.0[src]

This method tests for !=.

impl PartialEq<Revealed<PrivateKey>> for Revealed<PrivateKey>

#[must_use] fn ne(&self, other: &Rhs) -> bool1.0.0[src]

This method tests for !=.

impl PartialEq<Revealed<DerivedSymmetricKey>> for Revealed<DerivedSymmetricKey>

#[must_use] fn ne(&self, other: &Rhs) -> bool1.0.0[src]

This method tests for !=.

impl PartialEq<Revealed<Plaintext>> for Revealed<Plaintext>

#[must_use] fn ne(&self, other: &Rhs) -> bool1.0.0[src]

This method tests for !=.

impl PartialEq<Revealed<PrivateKey>> for Revealed<PrivateKey>

#[must_use] fn ne(&self, other: &Rhs) -> bool1.0.0[src]

This method tests for !=.

impl<T: Debug> Debug for Revealed<T>

Auto Trait Implementations

impl<T> Sync for Revealed<T> where
    T: Sync

impl<T> Unpin for Revealed<T> where
    T: Unpin

impl<T> Send for Revealed<T> where
    T: Send

impl<T> UnwindSafe for Revealed<T> where
    T: UnwindSafe

impl<T> RefUnwindSafe for Revealed<T> where
    T: RefUnwindSafe

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self