pub struct ErrorInfo {
pub status: u16,
pub message: String,
pub digest: String,
}Expand description
Information passed to error.rs / global-error.rs.
Fields§
§status: u16§message: StringUser-safe message in production, detailed message in development.
digest: StringRandom identifier that is also written to the server log.
Trait Implementations§
Auto Trait Implementations§
impl Forget for ErrorInfo
impl Freeze for ErrorInfo
impl Move for ErrorInfo
impl RefUnwindSafe for ErrorInfo
impl Send for ErrorInfo
impl Sync for ErrorInfo
impl Unpin for ErrorInfo
impl UnsafeUnpin for ErrorInfo
impl UnwindSafe for ErrorInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more