pub struct ExceptionContext {
pub connection_id: String,
pub request_id: Option<String>,
pub target: String,
pub message_kind: &'static str,
pub error: ApiError,
}Expand description
Context passed to the global exception handler.
Fields§
§connection_id: String§request_id: Option<String>§target: String§message_kind: &'static str§error: ApiErrorTrait Implementations§
Source§impl Clone for ExceptionContext
impl Clone for ExceptionContext
Source§fn clone(&self) -> ExceptionContext
fn clone(&self) -> ExceptionContext
Returns a duplicate of the value. Read more
1.0.0 · 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 ExceptionContext
impl RefUnwindSafe for ExceptionContext
impl Send for ExceptionContext
impl Sync for ExceptionContext
impl Unpin for ExceptionContext
impl UnsafeUnpin for ExceptionContext
impl UnwindSafe for ExceptionContext
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