Enum spin_sdk::mysql::MysqlError
source · pub enum MysqlError {
Success,
ConnectionFailed(String),
BadParameter(String),
QueryFailed(String),
ValueConversionFailed(String),
OtherError(String),
}
Variants§
Success
ConnectionFailed(String)
BadParameter(String)
QueryFailed(String)
ValueConversionFailed(String)
OtherError(String)
Trait Implementations§
source§impl Clone for MysqlError
impl Clone for MysqlError
source§fn clone(&self) -> MysqlError
fn clone(&self) -> MysqlError
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 MysqlError
impl Debug for MysqlError
source§impl Display for MysqlError
impl Display for MysqlError
source§impl Error for MysqlError
impl Error for MysqlError
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<MysqlError> for Error
impl From<MysqlError> for Error
source§fn from(source: MysqlError) -> Self
fn from(source: MysqlError) -> Self
Converts to this type from the input type.