pub struct RemoteSigner { /* private fields */ }
Expand description
Remote Signer
Implementations§
source§impl RemoteSigner
impl RemoteSigner
sourcepub fn new(relay_url: Url, signer_public_key: Option<XOnlyPublicKey>) -> Self
pub fn new(relay_url: Url, signer_public_key: Option<XOnlyPublicKey>) -> Self
New NIP46 remote signer
sourcepub async fn signer_public_key(&self) -> Option<XOnlyPublicKey>
pub async fn signer_public_key(&self) -> Option<XOnlyPublicKey>
Get signer XOnlyPublicKey
Trait Implementations§
source§impl Clone for RemoteSigner
impl Clone for RemoteSigner
source§fn clone(&self) -> RemoteSigner
fn clone(&self) -> RemoteSigner
Returns a copy 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 !RefUnwindSafe for RemoteSigner
impl Send for RemoteSigner
impl Sync for RemoteSigner
impl Unpin for RemoteSigner
impl !UnwindSafe for RemoteSigner
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