Struct convergence::protocol::ErrorResponse
source · pub struct ErrorResponse {
pub sql_state: SqlState,
pub severity: Severity,
pub message: String,
}
Fields§
§sql_state: SqlState
§severity: Severity
§message: String
Implementations§
Trait Implementations§
source§impl BackendMessage for ErrorResponse
impl BackendMessage for ErrorResponse
source§impl Clone for ErrorResponse
impl Clone for ErrorResponse
source§fn clone(&self) -> ErrorResponse
fn clone(&self) -> ErrorResponse
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 ErrorResponse
impl Debug for ErrorResponse
source§impl Display for ErrorResponse
impl Display for ErrorResponse
source§impl Error for ErrorResponse
impl Error for ErrorResponse
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<ErrorResponse> for ConnectionError
impl From<ErrorResponse> for ConnectionError
source§fn from(source: ErrorResponse) -> Self
fn from(source: ErrorResponse) -> Self
Converts to this type from the input type.