Struct pgwire::message::ErrorResponse [−][src]
pub struct ErrorResponse {
pub severity: Severity,
pub code: SqlState,
pub message: String,
pub detail: Option<String>,
pub hint: Option<String>,
pub position: Option<usize>,
}
Fields
severity: Severity
code: SqlState
message: String
detail: Option<String>
hint: Option<String>
position: Option<usize>
Implementations
Trait Implementations
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for ErrorResponse
impl Send for ErrorResponse
impl Sync for ErrorResponse
impl Unpin for ErrorResponse
impl UnwindSafe for ErrorResponse
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more