pub struct ErrorInfo {
pub error_type: String,
pub message: String,
pub turn_number: usize,
pub recoverable: bool,
}
Expand description
Information about an error
Fields§
§error_type: String
§message: String
§turn_number: usize
§recoverable: bool
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ErrorInfo
impl RefUnwindSafe for ErrorInfo
impl Send for ErrorInfo
impl Sync for ErrorInfo
impl Unpin 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