pub struct BaseAuthHttpClient<T>{ /* private fields */ }Expand description
Http Client
Implementations§
Trait Implementations§
Source§impl<T> AuthMintConnector for AuthHttpClient<T>
impl<T> AuthMintConnector for AuthHttpClient<T>
Source§fn get_mint_info<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<MintInfo, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_mint_info<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<MintInfo, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get Mint Info [NUT-06]
Source§fn get_mint_blind_auth_keyset<'life0, 'async_trait>(
&'life0 self,
keyset_id: Id,
) -> Pin<Box<dyn Future<Output = Result<KeySet, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_mint_blind_auth_keyset<'life0, 'async_trait>(
&'life0 self,
keyset_id: Id,
) -> Pin<Box<dyn Future<Output = Result<KeySet, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get Auth Keyset Keys [NUT-22]
Source§fn get_mint_blind_auth_keysets<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<KeysetResponse, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_mint_blind_auth_keysets<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<KeysetResponse, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get Auth Keysets [NUT-22]
Source§fn post_mint_blind_auth<'life0, 'async_trait>(
&'life0 self,
request: MintAuthRequest,
) -> Pin<Box<dyn Future<Output = Result<MintResponse, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn post_mint_blind_auth<'life0, 'async_trait>(
&'life0 self,
request: MintAuthRequest,
) -> Pin<Box<dyn Future<Output = Result<MintResponse, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Mint Tokens [NUT-22]
Source§impl<T> Clone for AuthHttpClient<T>
impl<T> Clone for AuthHttpClient<T>
Source§fn clone(&self) -> AuthHttpClient<T>
fn clone(&self) -> AuthHttpClient<T>
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<T> Freeze for AuthHttpClient<T>
impl<T> !RefUnwindSafe for AuthHttpClient<T>
impl<T> Send for AuthHttpClient<T>
impl<T> Sync for AuthHttpClient<T>
impl<T> Unpin for AuthHttpClient<T>
impl<T> !UnwindSafe for AuthHttpClient<T>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request