pub enum StoreError<L2 = Infallible>where
L2: Error,{
Io(IoError),
Toml(Error),
Yaml(Error),
Layer2(L2),
Custom(String),
}
Variants§
Io(IoError)
I/O error storing wallet - {0}
Toml(Error)
unable to serialize wallet data as TOML file - {0}
Yaml(Error)
unable to serialize wallet cache as YAML file - {0}
Layer2(L2)
Custom(String)
Trait Implementations§
Source§impl<L2> Debug for StoreError<L2>
impl<L2> Debug for StoreError<L2>
Source§impl<L2> Display for StoreError<L2>where
L2: Error,
impl<L2> Display for StoreError<L2>where
L2: Error,
Source§impl<L2> Error for StoreError<L2>where
L2: Error,
impl<L2> Error for StoreError<L2>where
L2: Error,
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()
Source§impl<L2> From<Error> for StoreError<L2>where
L2: Error,
impl<L2> From<Error> for StoreError<L2>where
L2: Error,
Source§fn from(v: Error) -> StoreError<L2>
fn from(v: Error) -> StoreError<L2>
Converts to this type from the input type.
Source§impl<L2> From<Error> for StoreError<L2>where
L2: Error,
impl<L2> From<Error> for StoreError<L2>where
L2: Error,
Source§fn from(v: Error) -> StoreError<L2>
fn from(v: Error) -> StoreError<L2>
Converts to this type from the input type.
Source§impl<L2> From<Error> for StoreError<L2>where
L2: Error,
impl<L2> From<Error> for StoreError<L2>where
L2: Error,
Source§fn from(v: Error) -> StoreError<L2>
fn from(v: Error) -> StoreError<L2>
Converts to this type from the input type.
Source§impl<L2> From<IoError> for StoreError<L2>where
L2: Error,
impl<L2> From<IoError> for StoreError<L2>where
L2: Error,
Source§fn from(v: IoError) -> StoreError<L2>
fn from(v: IoError) -> StoreError<L2>
Converts to this type from the input type.
Source§impl<L2> From<StoreError<L2>> for RuntimeError<L2>where
L2: Error,
impl<L2> From<StoreError<L2>> for RuntimeError<L2>where
L2: Error,
Source§fn from(v: StoreError<L2>) -> RuntimeError<L2>
fn from(v: StoreError<L2>) -> RuntimeError<L2>
Converts to this type from the input type.
Auto Trait Implementations§
impl<L2> Freeze for StoreError<L2>where
L2: Freeze,
impl<L2 = Infallible> !RefUnwindSafe for StoreError<L2>
impl<L2> Send for StoreError<L2>where
L2: Send,
impl<L2> Sync for StoreError<L2>where
L2: Sync,
impl<L2> Unpin for StoreError<L2>where
L2: Unpin,
impl<L2 = Infallible> !UnwindSafe for StoreError<L2>
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> 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<I> IntoResettable<String> for I
impl<I> IntoResettable<String> for I
Source§fn into_resettable(self) -> Resettable<String>
fn into_resettable(self) -> Resettable<String>
Convert to the intended resettable type