Struct mutiny_core::lnurlauth::AuthManager
source · pub struct AuthManager { /* private fields */ }Implementations§
source§impl AuthManager
impl AuthManager
pub fn new(xprivkey: ExtendedPrivKey) -> Result<Self, MutinyError>
pub fn sign( &self, url: Url, k1: &[u8; 32] ) -> Result<(Signature, PublicKey), MutinyError>
Trait Implementations§
source§impl Clone for AuthManager
impl Clone for AuthManager
source§fn clone(&self) -> AuthManager
fn clone(&self) -> AuthManager
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 AuthManager
impl Send for AuthManager
impl Sync for AuthManager
impl Unpin for AuthManager
impl UnwindSafe for AuthManager
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