pub struct UserPanic {
pub error_msg: &'static str,
pub fix_instructions: Option<&'static [&'static [&'static str]]>,
}
Expand description
This Struct is auto generated from the yaml file
Fields§
§error_msg: &'static str
It describes the error
If left empty then the program panics silently without giving any output
fix_instructions: Option<&'static [&'static [&'static str]]>
It contains the instructions to fix the error
Trait Implementations§
Auto Trait Implementations§
impl Freeze for UserPanic
impl RefUnwindSafe for UserPanic
impl Send for UserPanic
impl Sync for UserPanic
impl Unpin for UserPanic
impl UnwindSafe for UserPanic
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