[−][src]Struct saltbabe::keypair::KeyPair
Methods
impl<S, P: KeyContext> KeyPair<S, P>
[src]
impl<S, P> KeyPair<S, P> where
S: FromUnsafeSlice<RHS = S>,
P: PublicKeyContext + KeyContext + FromUnsafeSlice<RHS = P>,
[src]
S: FromUnsafeSlice<RHS = S>,
P: PublicKeyContext + KeyContext + FromUnsafeSlice<RHS = P>,
impl<S, P> KeyPair<S, P> where
S: FromUnsafeSlice<RHS = S> + KeyContext,
P: PublicKeyContext + KeyContext + FromUnsafeSlice<RHS = P>,
[src]
S: FromUnsafeSlice<RHS = S> + KeyContext,
P: PublicKeyContext + KeyContext + FromUnsafeSlice<RHS = P>,
pub fn generate_keypair() -> Result<KeyPair<S, P>, Error>
[src]
impl<S, P> KeyPair<S, P>
[src]
Trait Implementations
impl<S: Clone, P: Clone> Clone for KeyPair<S, P>
[src]
impl<S: PartialEq, P: PartialEq> PartialEq<KeyPair<S, P>> for KeyPair<S, P>
[src]
impl<S, P> Display for KeyPair<S, P> where
S: ToHex,
P: ToHex,
[src]
S: ToHex,
P: ToHex,
impl<S: Debug, P: Debug> Debug for KeyPair<S, P>
[src]
impl<S, P> StructuralPartialEq for KeyPair<S, P>
[src]
Auto Trait Implementations
impl<S, P> Send for KeyPair<S, P> where
P: Send,
S: Send,
P: Send,
S: Send,
impl<S, P> Sync for KeyPair<S, P> where
P: Sync,
S: Sync,
P: Sync,
S: Sync,
impl<S, P> Unpin for KeyPair<S, P> where
P: Unpin,
S: Unpin,
P: Unpin,
S: Unpin,
impl<S, P> UnwindSafe for KeyPair<S, P> where
P: UnwindSafe,
S: UnwindSafe,
P: UnwindSafe,
S: UnwindSafe,
impl<S, P> RefUnwindSafe for KeyPair<S, P> where
P: RefUnwindSafe,
S: RefUnwindSafe,
P: RefUnwindSafe,
S: RefUnwindSafe,
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,