pub struct EngineErrorPayload {
pub message: String,
pub kind: ErrorKind,
}Expand description
Payload passed to on_error callbacks.
Fields§
§message: String§kind: ErrorKindTrait Implementations§
Source§impl Clone for EngineErrorPayload
impl Clone for EngineErrorPayload
Source§fn clone(&self) -> EngineErrorPayload
fn clone(&self) -> EngineErrorPayload
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for EngineErrorPayload
impl RefUnwindSafe for EngineErrorPayload
impl Send for EngineErrorPayload
impl Sync for EngineErrorPayload
impl Unpin for EngineErrorPayload
impl UnsafeUnpin for EngineErrorPayload
impl UnwindSafe for EngineErrorPayload
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