pub struct NotificationFailure {
pub handler: &'static str,
pub error: HexeractError,
}Expand description
One notification handler that failed during a notification publish
fan-out, paired with the typed error it returned.
The error field keeps the full HexeractError, so its
source chain stays intact for callers that need to recover the original
failure rather than a flattened string. Values are exposed through
HexeractError::PublishFailed.
Fields§
§handler: &'static strFully-qualified type name of the handler that failed.
error: HexeractErrorTyped error the handler returned, with its source chain intact.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for NotificationFailure
impl !UnwindSafe for NotificationFailure
impl Freeze for NotificationFailure
impl Send for NotificationFailure
impl Sync for NotificationFailure
impl Unpin for NotificationFailure
impl UnsafeUnpin for NotificationFailure
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