Enum opensrv_clickhouse::errors::DriverError
source · pub enum DriverError {
Overflow,
UnknownPacket {
packet: u64,
},
UnexpectedPacket,
Timeout,
Utf8Error(Utf8Error),
UnknownSetting {
name: String,
},
}Expand description
This type enumerates driver errors.
Variants§
Trait Implementations§
source§impl Clone for DriverError
impl Clone for DriverError
source§fn clone(&self) -> DriverError
fn clone(&self) -> DriverError
Returns a copy 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 DriverError
impl Debug for DriverError
source§impl Display for DriverError
impl Display for DriverError
source§impl Error for DriverError
impl Error for DriverError
1.30.0 · 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<DriverError> for Error
impl From<DriverError> for Error
source§fn from(err: DriverError) -> Self
fn from(err: DriverError) -> Self
Converts to this type from the input type.