pub struct Pair(/* private fields */);Implementations§
Source§impl Pair
impl Pair
pub fn from_entropy_and_pwd(entropy: &[u8], pwd: &str) -> Result<Self, Error>
pub fn from_entropy_and_full_derivation( entropy: &[u8], full_derivation: FullDerivation<'_>, ) -> Result<Self, Error>
pub fn sign(&self, msg: &[u8]) -> Result<Signature, Error>
pub fn public(&self) -> Result<Public, Error>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Pair
impl RefUnwindSafe for Pair
impl Send for Pair
impl Sync for Pair
impl Unpin for Pair
impl UnwindSafe for Pair
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