Struct nip_70::Nip70Client
source · pub struct Nip70Client {}
Trait Implementations§
source§impl Default for Nip70Client
impl Default for Nip70Client
source§fn default() -> Nip70Client
fn default() -> Nip70Client
Returns the “default value” for a type. Read more
source§impl Nip70 for Nip70Client
impl Nip70 for Nip70Client
source§fn get_public_key<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<XOnlyPublicKey>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_public_key<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<XOnlyPublicKey>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Returns the public key of the signed-in user.
source§fn sign_event<'life0, 'async_trait>(
&'life0 self,
event: UnsignedEvent
) -> Pin<Box<dyn Future<Output = Result<Event>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn sign_event<'life0, 'async_trait>(
&'life0 self,
event: UnsignedEvent
) -> Pin<Box<dyn Future<Output = Result<Event>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Signs a Nostr event on behalf of the signed-in user.
fn get_relays<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Option<HashMap<String, RelayPolicy>>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl RefUnwindSafe for Nip70Client
impl Send for Nip70Client
impl Sync for Nip70Client
impl Unpin for Nip70Client
impl UnwindSafe for Nip70Client
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