#[non_exhaustive]pub struct LastCrash {
pub when: u64,
pub message: String,
pub location: Option<String>,
pub key: String,
}Expand description
What a game hears at its start of the last crash: when, the message and the place, and the report’s key in its storage. What the player sees of it, if anything, is the game’s to word.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.when: u64When it happened: milliseconds since 1970.
message: StringThe panic’s message.
location: Option<String>Where it panicked: file:line:column.
key: StringThe report’s key in the game’s storage.
Trait Implementations§
impl Eq for LastCrash
impl StructuralPartialEq for LastCrash
Auto Trait Implementations§
impl Freeze for LastCrash
impl RefUnwindSafe for LastCrash
impl Send for LastCrash
impl Sync for LastCrash
impl Unpin for LastCrash
impl UnsafeUnpin for LastCrash
impl UnwindSafe for LastCrash
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