pub enum IgniteError {
Transport(TransportError),
Protocol(ProtocolError),
Pool(String),
TransactionFinished,
CursorClosed,
NoRows,
PoisonedLock(&'static str),
UnsupportedOnTransaction(&'static str),
}Variants§
Transport(TransportError)
Protocol(ProtocolError)
Pool(String)
TransactionFinished
Returned by check_active() inside a transaction. In practice this guard
is unreachable from external code because commit() and rollback() both
consume self, but the check is retained for defensive correctness.
CursorClosed
Reserved for future use when stream cursor state is explicitly tracked. Currently never returned — stream resource-close is fire-and-forget.
NoRows
Reserved for future single-row convenience helpers such as
QueryResult::exactly_one(). Currently never returned by any code path.
PoisonedLock(&'static str)
An internal std::sync::Mutex guarding client-side state (e.g. the
binary-type metadata cache) was poisoned by a prior panic while held.
UnsupportedOnTransaction(&'static str)
Returned by crate::cache::IgniteCache::get_binary/put_binary on a
transactional cache handle: binary-object metadata lookups need the
channel registry, which Transaction::cache handles don’t carry (they
route through the transaction’s dedicated connection instead).
Trait Implementations§
Source§impl Debug for IgniteError
impl Debug for IgniteError
Source§impl Display for IgniteError
impl Display for IgniteError
Source§impl Error for IgniteError
impl Error for IgniteError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()