pub struct ErrorContract {
pub code: &'static str,
pub exit_code: i32,
pub description: &'static str,
}Expand description
Single source of truth for every public error code, its exit code, and the
description published in blotter schema.
Fields§
§code: &'static str§exit_code: i32§description: &'static strAuto Trait Implementations§
impl Freeze for ErrorContract
impl RefUnwindSafe for ErrorContract
impl Send for ErrorContract
impl Sync for ErrorContract
impl Unpin for ErrorContract
impl UnsafeUnpin for ErrorContract
impl UnwindSafe for ErrorContract
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