pub struct ExportedSecret<T> { /* private fields */ }Available on 32-bit or 64-bit only.
Expand description
A secret exported from a group.
The marker type T records which export function produced the secret, so
secrets from different export paths cannot be confused.
Implementations§
Trait Implementations§
Source§impl<T> AsRef<[u8]> for ExportedSecret<T>
impl<T> AsRef<[u8]> for ExportedSecret<T>
Source§impl<T> Debug for ExportedSecret<T>
impl<T> Debug for ExportedSecret<T>
Source§impl<T, U> PartialEq<ExportedSecret<U>> for ExportedSecret<T>
impl<T, U> PartialEq<ExportedSecret<U>> for ExportedSecret<T>
impl<T> ZeroizeOnDrop for ExportedSecret<T>
Auto Trait Implementations§
impl<T> Freeze for ExportedSecret<T>where
PhantomData<T>: Freeze,
impl<T> RefUnwindSafe for ExportedSecret<T>where
PhantomData<T>: RefUnwindSafe,
impl<T> Send for ExportedSecret<T>where
PhantomData<T>: Send,
impl<T> Sync for ExportedSecret<T>where
PhantomData<T>: Sync,
impl<T> Unpin for ExportedSecret<T>where
PhantomData<T>: Unpin,
impl<T> UnsafeUnpin for ExportedSecret<T>where
PhantomData<T>: UnsafeUnpin,
impl<T> UnwindSafe for ExportedSecret<T>where
PhantomData<T>: UnwindSafe,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<T> ToHex for T
impl<T> ToHex for T
Source§fn encode_hex<U>(&self) -> Uwhere
U: FromIterator<char>,
fn encode_hex<U>(&self) -> Uwhere
U: FromIterator<char>,
Encode the hex strict representing
self into the result. Lower case
letters are used (e.g. f9b4ca)Source§fn encode_hex_upper<U>(&self) -> Uwhere
U: FromIterator<char>,
fn encode_hex_upper<U>(&self) -> Uwhere
U: FromIterator<char>,
Encode the hex strict representing
self into the result. Upper case
letters are used (e.g. F9B4CA)