Enum kaspa_index_processor::errors::IndexError
source · pub enum IndexError {
UtxoIndexError(UtxoIndexError),
NotSupported(EventType),
}
Variants§
UtxoIndexError(UtxoIndexError)
NotSupported(EventType)
Trait Implementations§
source§impl Debug for IndexError
impl Debug for IndexError
source§impl Display for IndexError
impl Display for IndexError
source§impl Error for IndexError
impl Error for IndexError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<UtxoIndexError> for IndexError
impl From<UtxoIndexError> for IndexError
source§fn from(source: UtxoIndexError) -> Self
fn from(source: UtxoIndexError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for IndexError
impl Send for IndexError
impl Sync for IndexError
impl Unpin for IndexError
impl !UnwindSafe for IndexError
Blanket Implementations§
§impl<T> CastFrom for Twhere
T: Any + 'static,
impl<T> CastFrom for Twhere T: Any + 'static,
§fn ref_any(&self) -> &(dyn Any + 'static)
fn ref_any(&self) -> &(dyn Any + 'static)
Returns a immutable reference to
Any
, which is backed by the type implementing this trait.§fn mut_any(&mut self) -> &mut (dyn Any + 'static)
fn mut_any(&mut self) -> &mut (dyn Any + 'static)
Returns a mutable reference to
Any
, which is backed by the type implementing this trait.