pub fn status_code(&self) -> StatusCode {
        *self.status_code.get_or_init(|| {
            StatusCode::from_u16(self.status.get()).expect("invalid status code from error")
        })
    }
/// Returns the HTTP status code associated with this error.
Returns the HTTP status code associated with this error.
Returns the HTTP status code associated with this error .
pub fn status_code(&self) -> StatusCode {
        *self.status_code.get_or_init(|| {
            StatusCode::from_u16(self.status.get()).expect("invalid status code from error")
        })
    }
pub fn status_code ( & self ) -> StatusCode { * self . status_code . get_or_init ( | | { StatusCode :: from_u16 ( self . status . get ( ) ) . expect ( " " ) } ) }
Returns the HTTP status code associated with this error.
Returns the HTTP status code associated with this error .
&self
&self