pub struct ErrorEvent {
pub phase: Phase,
pub source_name: Option<String>,
pub error: String,
}Expand description
Error notification — fires when a provider call (or transform, when
emitted from ChartML::transform) returns an error. The error is
stringified at the emission site so consumers don’t need to know the
concrete error type.
Fields§
§phase: Phase§source_name: Option<String>§error: StringTrait Implementations§
Source§impl Clone for ErrorEvent
impl Clone for ErrorEvent
Source§fn clone(&self) -> ErrorEvent
fn clone(&self) -> ErrorEvent
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 ErrorEvent
impl RefUnwindSafe for ErrorEvent
impl Send for ErrorEvent
impl Sync for ErrorEvent
impl Unpin for ErrorEvent
impl UnsafeUnpin for ErrorEvent
impl UnwindSafe for ErrorEvent
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