pub struct MintSqliteDatabase { /* private fields */ }Expand description
Mint SQLite Database
Implementations§
Source§impl MintSqliteDatabase
impl MintSqliteDatabase
Sourcepub async fn migrate(&self)
pub async fn migrate(&self)
Migrate MintSqliteDatabase
Trait Implementations§
Source§impl Clone for MintSqliteDatabase
impl Clone for MintSqliteDatabase
Source§fn clone(&self) -> MintSqliteDatabase
fn clone(&self) -> MintSqliteDatabase
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 moreSource§impl Debug for MintSqliteDatabase
impl Debug for MintSqliteDatabase
Source§impl Database for MintSqliteDatabase
impl Database for MintSqliteDatabase
Source§fn get_blind_signatures_for_quote<'life0, 'life1, 'async_trait>(
&'life0 self,
quote_id: &'life1 Uuid,
) -> Pin<Box<dyn Future<Output = Result<Vec<BlindSignature>, Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_blind_signatures_for_quote<'life0, 'life1, 'async_trait>(
&'life0 self,
quote_id: &'life1 Uuid,
) -> Pin<Box<dyn Future<Output = Result<Vec<BlindSignature>, Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Get BlindSignatures for quote
Source§fn set_active_keyset<'life0, 'async_trait>(
&'life0 self,
unit: CurrencyUnit,
id: Id,
) -> Pin<Box<dyn Future<Output = Result<(), Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn set_active_keyset<'life0, 'async_trait>(
&'life0 self,
unit: CurrencyUnit,
id: Id,
) -> Pin<Box<dyn Future<Output = Result<(), Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Add Active Keyset
Source§fn get_active_keyset_id<'life0, 'life1, 'async_trait>(
&'life0 self,
unit: &'life1 CurrencyUnit,
) -> Pin<Box<dyn Future<Output = Result<Option<Id>, Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_active_keyset_id<'life0, 'life1, 'async_trait>(
&'life0 self,
unit: &'life1 CurrencyUnit,
) -> Pin<Box<dyn Future<Output = Result<Option<Id>, Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Get Active Keyset
Source§fn get_active_keysets<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<HashMap<CurrencyUnit, Id>, Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_active_keysets<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<HashMap<CurrencyUnit, Id>, Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get all Active Keyset
Source§fn add_mint_quote<'life0, 'async_trait>(
&'life0 self,
quote: MintQuote,
) -> Pin<Box<dyn Future<Output = Result<(), Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn add_mint_quote<'life0, 'async_trait>(
&'life0 self,
quote: MintQuote,
) -> Pin<Box<dyn Future<Output = Result<(), Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Add
MintMintQuoteSource§fn get_mint_quote<'life0, 'life1, 'async_trait>(
&'life0 self,
quote_id: &'life1 Uuid,
) -> Pin<Box<dyn Future<Output = Result<Option<MintQuote>, Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_mint_quote<'life0, 'life1, 'async_trait>(
&'life0 self,
quote_id: &'life1 Uuid,
) -> Pin<Box<dyn Future<Output = Result<Option<MintQuote>, Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Get
MintMintQuoteSource§fn get_mint_quote_by_request<'life0, 'life1, 'async_trait>(
&'life0 self,
request: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Option<MintQuote>, Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_mint_quote_by_request<'life0, 'life1, 'async_trait>(
&'life0 self,
request: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Option<MintQuote>, Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Get all
MintMintQuotesSource§fn get_mint_quote_by_request_lookup_id<'life0, 'life1, 'async_trait>(
&'life0 self,
request_lookup_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Option<MintQuote>, Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_mint_quote_by_request_lookup_id<'life0, 'life1, 'async_trait>(
&'life0 self,
request_lookup_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Option<MintQuote>, Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Get all
MintMintQuotesSource§fn update_mint_quote_state<'life0, 'life1, 'async_trait>(
&'life0 self,
quote_id: &'life1 Uuid,
state: MintQuoteState,
) -> Pin<Box<dyn Future<Output = Result<MintQuoteState, Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn update_mint_quote_state<'life0, 'life1, 'async_trait>(
&'life0 self,
quote_id: &'life1 Uuid,
state: MintQuoteState,
) -> Pin<Box<dyn Future<Output = Result<MintQuoteState, Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Update state of
MintMintQuoteSource§fn get_mint_quotes<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Vec<MintQuote>, Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_mint_quotes<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Vec<MintQuote>, Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get Mint Quotes
Source§fn get_mint_quotes_with_state<'life0, 'async_trait>(
&'life0 self,
state: MintQuoteState,
) -> Pin<Box<dyn Future<Output = Result<Vec<MintQuote>, Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_mint_quotes_with_state<'life0, 'async_trait>(
&'life0 self,
state: MintQuoteState,
) -> Pin<Box<dyn Future<Output = Result<Vec<MintQuote>, Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get Mint Quotes with state
Source§fn remove_mint_quote<'life0, 'life1, 'async_trait>(
&'life0 self,
quote_id: &'life1 Uuid,
) -> Pin<Box<dyn Future<Output = Result<(), Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn remove_mint_quote<'life0, 'life1, 'async_trait>(
&'life0 self,
quote_id: &'life1 Uuid,
) -> Pin<Box<dyn Future<Output = Result<(), Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Remove
MintMintQuoteSource§fn add_melt_quote<'life0, 'async_trait>(
&'life0 self,
quote: MeltQuote,
) -> Pin<Box<dyn Future<Output = Result<(), Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn add_melt_quote<'life0, 'async_trait>(
&'life0 self,
quote: MeltQuote,
) -> Pin<Box<dyn Future<Output = Result<(), Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Add
mint::MeltQuoteSource§fn get_melt_quote<'life0, 'life1, 'async_trait>(
&'life0 self,
quote_id: &'life1 Uuid,
) -> Pin<Box<dyn Future<Output = Result<Option<MeltQuote>, Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_melt_quote<'life0, 'life1, 'async_trait>(
&'life0 self,
quote_id: &'life1 Uuid,
) -> Pin<Box<dyn Future<Output = Result<Option<MeltQuote>, Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Get
mint::MeltQuoteSource§fn get_melt_quotes<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Vec<MeltQuote>, Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_melt_quotes<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Vec<MeltQuote>, Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get all
mint::MeltQuotesSource§fn update_melt_quote_state<'life0, 'life1, 'async_trait>(
&'life0 self,
quote_id: &'life1 Uuid,
state: MeltQuoteState,
) -> Pin<Box<dyn Future<Output = Result<MeltQuoteState, Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn update_melt_quote_state<'life0, 'life1, 'async_trait>(
&'life0 self,
quote_id: &'life1 Uuid,
state: MeltQuoteState,
) -> Pin<Box<dyn Future<Output = Result<MeltQuoteState, Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Update
mint::MeltQuote stateSource§fn remove_melt_quote<'life0, 'life1, 'async_trait>(
&'life0 self,
quote_id: &'life1 Uuid,
) -> Pin<Box<dyn Future<Output = Result<(), Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn remove_melt_quote<'life0, 'life1, 'async_trait>(
&'life0 self,
quote_id: &'life1 Uuid,
) -> Pin<Box<dyn Future<Output = Result<(), Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Remove
mint::MeltQuoteSource§fn add_keyset_info<'life0, 'async_trait>(
&'life0 self,
keyset: MintKeySetInfo,
) -> Pin<Box<dyn Future<Output = Result<(), Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn add_keyset_info<'life0, 'async_trait>(
&'life0 self,
keyset: MintKeySetInfo,
) -> Pin<Box<dyn Future<Output = Result<(), Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Add
MintKeySetInfoSource§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
MintKeySetInfoSource§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
MintKeySetInfosSource§fn add_proofs<'life0, 'async_trait>(
&'life0 self,
proofs: Proofs,
quote_id: Option<Uuid>,
) -> Pin<Box<dyn Future<Output = Result<(), Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn add_proofs<'life0, 'async_trait>(
&'life0 self,
proofs: Proofs,
quote_id: Option<Uuid>,
) -> Pin<Box<dyn Future<Output = Result<(), Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Add
ProofsSource§fn remove_proofs<'life0, 'life1, 'async_trait>(
&'life0 self,
ys: &'life1 [PublicKey],
_quote_id: Option<Uuid>,
) -> Pin<Box<dyn Future<Output = Result<(), Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn remove_proofs<'life0, 'life1, 'async_trait>(
&'life0 self,
ys: &'life1 [PublicKey],
_quote_id: Option<Uuid>,
) -> Pin<Box<dyn Future<Output = Result<(), Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Remove
ProofsSource§fn get_proofs_by_ys<'life0, 'life1, 'async_trait>(
&'life0 self,
ys: &'life1 [PublicKey],
) -> Pin<Box<dyn Future<Output = Result<Vec<Option<Proof>>, Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_proofs_by_ys<'life0, 'life1, 'async_trait>(
&'life0 self,
ys: &'life1 [PublicKey],
) -> Pin<Box<dyn Future<Output = Result<Vec<Option<Proof>>, Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Get
Proofs by ysSource§fn get_proof_ys_by_quote_id<'life0, 'life1, 'async_trait>(
&'life0 self,
quote_id: &'life1 Uuid,
) -> Pin<Box<dyn Future<Output = Result<Vec<PublicKey>, Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_proof_ys_by_quote_id<'life0, 'life1, 'async_trait>(
&'life0 self,
quote_id: &'life1 Uuid,
) -> Pin<Box<dyn Future<Output = Result<Vec<PublicKey>, Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Get ys by quote id
Source§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
Proofs stateSource§fn get_proofs_by_keyset_id<'life0, 'life1, 'async_trait>(
&'life0 self,
keyset_id: &'life1 Id,
) -> Pin<Box<dyn Future<Output = Result<(Proofs, Vec<Option<State>>), Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_proofs_by_keyset_id<'life0, 'life1, 'async_trait>(
&'life0 self,
keyset_id: &'life1 Id,
) -> Pin<Box<dyn Future<Output = Result<(Proofs, Vec<Option<State>>), Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Get
Proofs by stateSource§fn update_proofs_states<'life0, 'life1, 'async_trait>(
&'life0 self,
ys: &'life1 [PublicKey],
proofs_state: State,
) -> 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 update_proofs_states<'life0, 'life1, 'async_trait>(
&'life0 self,
ys: &'life1 [PublicKey],
proofs_state: State,
) -> 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
Proofs stateSource§fn add_blind_signatures<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
blinded_messages: &'life1 [PublicKey],
blinded_signatures: &'life2 [BlindSignature],
quote_id: Option<Uuid>,
) -> Pin<Box<dyn Future<Output = Result<(), Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn add_blind_signatures<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
blinded_messages: &'life1 [PublicKey],
blinded_signatures: &'life2 [BlindSignature],
quote_id: Option<Uuid>,
) -> Pin<Box<dyn Future<Output = Result<(), Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Add
BlindSignatureSource§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
BlindSignaturesSource§fn get_blind_signatures_for_keyset<'life0, 'life1, 'async_trait>(
&'life0 self,
keyset_id: &'life1 Id,
) -> Pin<Box<dyn Future<Output = Result<Vec<BlindSignature>, Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_blind_signatures_for_keyset<'life0, 'life1, 'async_trait>(
&'life0 self,
keyset_id: &'life1 Id,
) -> Pin<Box<dyn Future<Output = Result<Vec<BlindSignature>, Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Get
BlindSignatures for keyset_idSource§fn add_melt_request<'life0, 'async_trait>(
&'life0 self,
melt_request: MeltBolt11Request<Uuid>,
ln_key: PaymentProcessorKey,
) -> Pin<Box<dyn Future<Output = Result<(), Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn add_melt_request<'life0, 'async_trait>(
&'life0 self,
melt_request: MeltBolt11Request<Uuid>,
ln_key: PaymentProcessorKey,
) -> Pin<Box<dyn Future<Output = Result<(), Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Add melt request
Source§fn get_melt_request<'life0, 'life1, 'async_trait>(
&'life0 self,
quote_id: &'life1 Uuid,
) -> Pin<Box<dyn Future<Output = Result<Option<(MeltBolt11Request<Uuid>, PaymentProcessorKey)>, Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_melt_request<'life0, 'life1, 'async_trait>(
&'life0 self,
quote_id: &'life1 Uuid,
) -> Pin<Box<dyn Future<Output = Result<Option<(MeltBolt11Request<Uuid>, PaymentProcessorKey)>, Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Get melt request
Source§fn set_mint_info<'life0, 'async_trait>(
&'life0 self,
mint_info: MintInfo,
) -> Pin<Box<dyn Future<Output = Result<(), Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn set_mint_info<'life0, 'async_trait>(
&'life0 self,
mint_info: MintInfo,
) -> Pin<Box<dyn Future<Output = Result<(), Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Set
MintInfoSource§fn get_mint_info<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<MintInfo, Self::Err>> + 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, Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get
MintInfoAuto Trait Implementations§
impl Freeze for MintSqliteDatabase
impl !RefUnwindSafe for MintSqliteDatabase
impl Send for MintSqliteDatabase
impl Sync for MintSqliteDatabase
impl Unpin for MintSqliteDatabase
impl !UnwindSafe for MintSqliteDatabase
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 more