pub enum CreateWithPersistError<E> {
Persist(E),
DataAlreadyExists(ChangeSet),
Descriptor(DescriptorError),
}
Expand description
Error type for PersistedWallet::create
.
Variants§
Persist(E)
Error from persistence.
DataAlreadyExists(ChangeSet)
Persister already has wallet data.
Descriptor(DescriptorError)
Occurs when the loaded changeset cannot construct Wallet
.
Trait Implementations§
Source§impl<E: Debug> Debug for CreateWithPersistError<E>
impl<E: Debug> Debug for CreateWithPersistError<E>
Source§impl<E: Display> Display for CreateWithPersistError<E>
impl<E: Display> Display for CreateWithPersistError<E>
Source§impl<E: Debug + Display> Error for CreateWithPersistError<E>
impl<E: Debug + Display> Error for CreateWithPersistError<E>
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl<E> !Freeze for CreateWithPersistError<E>
impl<E> RefUnwindSafe for CreateWithPersistError<E>where
E: RefUnwindSafe,
impl<E> Send for CreateWithPersistError<E>where
E: Send,
impl<E> Sync for CreateWithPersistError<E>where
E: Sync,
impl<E> Unpin for CreateWithPersistError<E>where
E: Unpin,
impl<E> UnwindSafe for CreateWithPersistError<E>where
E: UnwindSafe,
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