pub struct StandardSigner { /* private fields */ }Expand description
StandardSigner is a trivial Signer implementation.
Implementations§
Source§impl StandardSigner
impl StandardSigner
Sourcepub fn new(skey: &str) -> Result<Self, SignerError>
pub fn new(skey: &str) -> Result<Self, SignerError>
Construct a new Signer from an encoded signer key.
§Errors
Returns a SignerError if skey is malformed or otherwise invalid.
Trait Implementations§
Source§impl Clone for StandardSigner
impl Clone for StandardSigner
Source§fn clone(&self) -> StandardSigner
fn clone(&self) -> StandardSigner
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for StandardSigner
impl RefUnwindSafe for StandardSigner
impl Send for StandardSigner
impl Sync for StandardSigner
impl Unpin for StandardSigner
impl UnwindSafe for StandardSigner
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