pub enum AdbcErrorCode {
Unknown = 0,
Connection = 1,
Query = 2,
InvalidArgument = 3,
InvalidState = 4,
NotImplemented = 5,
Timeout = 6,
}Expand description
ADBC-compatible error codes.
These codes map to the ADBC specification for driver interoperability.
Variants§
Unknown = 0
Unknown error
Connection = 1
Connection error
Query = 2
Query error
InvalidArgument = 3
Invalid argument
InvalidState = 4
Invalid state
NotImplemented = 5
Not implemented
Timeout = 6
Timeout
Trait Implementations§
Source§impl Clone for AdbcErrorCode
impl Clone for AdbcErrorCode
Source§fn clone(&self) -> AdbcErrorCode
fn clone(&self) -> AdbcErrorCode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AdbcErrorCode
impl Debug for AdbcErrorCode
Source§impl Display for AdbcErrorCode
impl Display for AdbcErrorCode
Source§impl PartialEq for AdbcErrorCode
impl PartialEq for AdbcErrorCode
impl Copy for AdbcErrorCode
impl Eq for AdbcErrorCode
impl StructuralPartialEq for AdbcErrorCode
Auto Trait Implementations§
impl Freeze for AdbcErrorCode
impl RefUnwindSafe for AdbcErrorCode
impl Send for AdbcErrorCode
impl Sync for AdbcErrorCode
impl Unpin for AdbcErrorCode
impl UnwindSafe for AdbcErrorCode
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.