Struct pg_embed::pg_errors::PgEmbedError
source · pub struct PgEmbedError {
pub error_type: PgEmbedErrorType,
pub source: Option<Box<dyn Error + Sync + Send>>,
pub message: Option<String>,
}
Expand description
PgEmbed errors
Fields§
§error_type: PgEmbedErrorType
§source: Option<Box<dyn Error + Sync + Send>>
§message: Option<String>
Trait Implementations§
source§impl Debug for PgEmbedError
impl Debug for PgEmbedError
source§impl Display for PgEmbedError
impl Display for PgEmbedError
source§impl Error for PgEmbedError
impl Error for PgEmbedError
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 ProcessStatus<PgServerStatus, PgEmbedError> for PgProcessType
impl ProcessStatus<PgServerStatus, PgEmbedError> for PgProcessType
source§fn status_entry(&self) -> PgServerStatus
fn status_entry(&self) -> PgServerStatus
process entry status
source§fn status_exit(&self) -> PgServerStatus
fn status_exit(&self) -> PgServerStatus
process exit status
source§fn error_type(&self) -> PgEmbedError
fn error_type(&self) -> PgEmbedError
process error type
source§fn wrap_error<E: Error + Sync + Send + 'static>(
&self,
error: E,
message: Option<String>
) -> PgEmbedError
fn wrap_error<E: Error + Sync + Send + 'static>(
&self,
error: E,
message: Option<String>
) -> PgEmbedError
wrap error