pub enum ConversionError {
Show 16 variants
MissingColumn(usize, usize),
MissingParameter(String),
InvalidType(String, String),
InvalidConversion(String, String),
MintUrl(Error),
CDKNUT00(Error),
CDKNUT01(Error),
CDKNUT02(Error),
CDKNUT04(Error),
CDKNUT05(Error),
CDKNUT07(Error),
CDKNUT23(Error),
CDKSECRET(Error),
Serde(Error),
BIP32(Error),
Generic(Box<Error>),
}
Expand description
Data conversion error
Variants§
MissingColumn(usize, usize)
Missing columns
MissingParameter(String)
Missing parameter
InvalidType(String, String)
Invalid db type
InvalidConversion(String, String)
Invalid data conversion in column
MintUrl(Error)
Mint Url Error
CDKNUT00(Error)
NUT00 Error
CDKNUT01(Error)
NUT01 Error
CDKNUT02(Error)
NUT02 Error
CDKNUT04(Error)
NUT04 Error
CDKNUT05(Error)
NUT05 Error
CDKNUT07(Error)
NUT07 Error
CDKNUT23(Error)
NUT23 Error
CDKSECRET(Error)
Secret Error
Serde(Error)
Serde Error
BIP32(Error)
BIP32 Error
Generic(Box<Error>)
Generic error
Trait Implementations§
Source§impl Debug for ConversionError
impl Debug for ConversionError
Source§impl Display for ConversionError
impl Display for ConversionError
Source§impl Error for ConversionError
impl Error for ConversionError
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 From<ConversionError> for Error
impl From<ConversionError> for Error
Source§fn from(source: ConversionError) -> Self
fn from(source: ConversionError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for ConversionError
impl From<Error> for ConversionError
Source§impl From<Error> for ConversionError
impl From<Error> for ConversionError
Source§impl From<Error> for ConversionError
impl From<Error> for ConversionError
Source§impl From<Error> for ConversionError
impl From<Error> for ConversionError
Source§impl From<Error> for ConversionError
impl From<Error> for ConversionError
Source§impl From<Error> for ConversionError
impl From<Error> for ConversionError
Source§impl From<Error> for ConversionError
impl From<Error> for ConversionError
Source§impl From<Error> for ConversionError
impl From<Error> for ConversionError
Source§impl From<Error> for ConversionError
impl From<Error> for ConversionError
Source§impl From<Error> for ConversionError
impl From<Error> for ConversionError
Source§impl From<Error> for ConversionError
impl From<Error> for ConversionError
Auto Trait Implementations§
impl Freeze for ConversionError
impl !RefUnwindSafe for ConversionError
impl Send for ConversionError
impl Sync for ConversionError
impl Unpin for ConversionError
impl !UnwindSafe for ConversionError
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