pub struct SQLMintAuthDatabase<RM>where
RM: DatabasePool + 'static,{ /* private fields */ }
Expand description
Mint SQL Database
Implementations§
Source§impl<RM> SQLMintAuthDatabase<RM>where
RM: DatabasePool + 'static,
impl<RM> SQLMintAuthDatabase<RM>where
RM: DatabasePool + 'static,
Trait Implementations§
Source§impl<RM> Clone for SQLMintAuthDatabase<RM>where
RM: DatabasePool + 'static + Clone,
impl<RM> Clone for SQLMintAuthDatabase<RM>where
RM: DatabasePool + 'static + Clone,
Source§fn clone(&self) -> SQLMintAuthDatabase<RM>
fn clone(&self) -> SQLMintAuthDatabase<RM>
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 moreSource§impl<RM> Debug for SQLMintAuthDatabase<RM>where
RM: DatabasePool + 'static + Debug,
impl<RM> Debug for SQLMintAuthDatabase<RM>where
RM: DatabasePool + 'static + Debug,
Source§impl<RM> MintAuthDatabase for SQLMintAuthDatabase<RM>where
RM: DatabasePool + 'static,
impl<RM> MintAuthDatabase for SQLMintAuthDatabase<RM>where
RM: DatabasePool + 'static,
Source§fn begin_transaction<'a, 'async_trait>(
&'a self,
) -> Pin<Box<dyn Future<Output = Result<Box<dyn MintAuthTransaction<Error> + Send + Sync + 'a>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
fn begin_transaction<'a, 'async_trait>(
&'a self,
) -> Pin<Box<dyn Future<Output = Result<Box<dyn MintAuthTransaction<Error> + Send + Sync + 'a>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
Begins a transaction
Source§fn get_active_keyset_id<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Option<Id>, Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_active_keyset_id<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Option<Id>, Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get Active Keyset
Source§fn get_keyset_info<'life0, 'life1, 'async_trait>(
&'life0 self,
id: &'life1 Id,
) -> Pin<Box<dyn Future<Output = Result<Option<MintKeySetInfo>, Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_keyset_info<'life0, 'life1, 'async_trait>(
&'life0 self,
id: &'life1 Id,
) -> Pin<Box<dyn Future<Output = Result<Option<MintKeySetInfo>, Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Get
MintKeySetInfo
Source§fn get_keyset_infos<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Vec<MintKeySetInfo>, Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_keyset_infos<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Vec<MintKeySetInfo>, Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get
MintKeySetInfo
sSource§fn get_proofs_states<'life0, 'life1, 'async_trait>(
&'life0 self,
ys: &'life1 [PublicKey],
) -> Pin<Box<dyn Future<Output = Result<Vec<Option<State>>, Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_proofs_states<'life0, 'life1, 'async_trait>(
&'life0 self,
ys: &'life1 [PublicKey],
) -> Pin<Box<dyn Future<Output = Result<Vec<Option<State>>, Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Get
AuthProof
stateSource§fn get_blind_signatures<'life0, 'life1, 'async_trait>(
&'life0 self,
blinded_messages: &'life1 [PublicKey],
) -> Pin<Box<dyn Future<Output = Result<Vec<Option<BlindSignature>>, Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_blind_signatures<'life0, 'life1, 'async_trait>(
&'life0 self,
blinded_messages: &'life1 [PublicKey],
) -> Pin<Box<dyn Future<Output = Result<Vec<Option<BlindSignature>>, Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Get
BlindSignature
sSource§fn get_auth_for_endpoint<'life0, 'async_trait>(
&'life0 self,
protected_endpoint: ProtectedEndpoint,
) -> Pin<Box<dyn Future<Output = Result<Option<AuthRequired>, Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_auth_for_endpoint<'life0, 'async_trait>(
&'life0 self,
protected_endpoint: ProtectedEndpoint,
) -> Pin<Box<dyn Future<Output = Result<Option<AuthRequired>, Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get auth for protected_endpoint
Source§fn get_auth_for_endpoints<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<HashMap<ProtectedEndpoint, Option<AuthRequired>>, Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_auth_for_endpoints<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<HashMap<ProtectedEndpoint, Option<AuthRequired>>, Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get protected endpoints
Auto Trait Implementations§
impl<RM> Freeze for SQLMintAuthDatabase<RM>
impl<RM> RefUnwindSafe for SQLMintAuthDatabase<RM>
impl<RM> Send for SQLMintAuthDatabase<RM>
impl<RM> Sync for SQLMintAuthDatabase<RM>
impl<RM> Unpin for SQLMintAuthDatabase<RM>
impl<RM> UnwindSafe for SQLMintAuthDatabase<RM>
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