parent
							
								
									82141a8201
								
							
						
					
					
						commit
						a8efeaa0fb
					
				@ -107,7 +107,7 @@ impl<T> Persisted<T> {
 | 
			
		||||
        Ok(T::load(db, params)?.map(|inner| Self { inner }))
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    /// Contruct a persisted `T` from an async `Db`.
 | 
			
		||||
    /// Construct a persisted `T` from an async `Db`.
 | 
			
		||||
    pub async fn load_async<Db>(
 | 
			
		||||
        db: &mut Db,
 | 
			
		||||
        params: T::LoadParams,
 | 
			
		||||
 | 
			
		||||
@ -150,7 +150,7 @@ impl LoadParams {
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    /// Checks that `descriptor` of `keychain` matches this, and extracts private keys (if
 | 
			
		||||
    /// avaliable).
 | 
			
		||||
    /// available).
 | 
			
		||||
    pub fn descriptors<D>(mut self, descriptor: D, change_descriptor: D) -> Self
 | 
			
		||||
    where
 | 
			
		||||
        D: IntoWalletDescriptor + 'static,
 | 
			
		||||
 | 
			
		||||
@ -154,7 +154,7 @@ impl<E: fmt::Debug + fmt::Display> std::error::Error for LoadWithPersistError<E>
 | 
			
		||||
pub enum CreateWithPersistError<E> {
 | 
			
		||||
    /// Error from persistence.
 | 
			
		||||
    Persist(E),
 | 
			
		||||
    /// Occurs when the loaded changeset cannot contruct [`Wallet`].
 | 
			
		||||
    /// Occurs when the loaded changeset cannot construct [`Wallet`].
 | 
			
		||||
    Descriptor(DescriptorError),
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user