pub struct CrashNotification {
pub route_id: String,
pub error: String,
}Expand description
Notification sent when a route crashes.
Used by SupervisingRouteController
to monitor and restart failed routes.
Fields§
§route_id: StringThe ID of the crashed route.
error: StringThe error that caused the crash.
Trait Implementations§
Source§impl Clone for CrashNotification
impl Clone for CrashNotification
Source§fn clone(&self) -> CrashNotification
fn clone(&self) -> CrashNotification
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 CrashNotification
impl RefUnwindSafe for CrashNotification
impl Send for CrashNotification
impl Sync for CrashNotification
impl Unpin for CrashNotification
impl UnsafeUnpin for CrashNotification
impl UnwindSafe for CrashNotification
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