pub struct ErrorDiagnostics { /* private fields */ }
Expand description
Error diagnostics engine
Implementations§
Source§impl ErrorDiagnostics
impl ErrorDiagnostics
Sourcepub fn global() -> &'static ErrorDiagnostics
pub fn global() -> &'static ErrorDiagnostics
Get the global diagnostics instance
Sourcepub fn recorderror(&self, error: &CoreError, context: String)
pub fn recorderror(&self, error: &CoreError, context: String)
Record an error occurrence
Sourcepub fn analyzeerror(&self, error: &CoreError) -> ErrorDiagnosticReport
pub fn analyzeerror(&self, error: &CoreError) -> ErrorDiagnosticReport
Analyze an error and provide comprehensive diagnostics
Sourcepub fn predict_potentialerrors(&self, context: &str) -> Vec<String>
pub fn predict_potentialerrors(&self, context: &str) -> Vec<String>
Perform predictive error analysis based on historical patterns (Alpha 6 feature)
Trait Implementations§
Source§impl Debug for ErrorDiagnostics
impl Debug for ErrorDiagnostics
Auto Trait Implementations§
impl Freeze for ErrorDiagnostics
impl RefUnwindSafe for ErrorDiagnostics
impl Send for ErrorDiagnostics
impl Sync for ErrorDiagnostics
impl Unpin for ErrorDiagnostics
impl UnwindSafe for ErrorDiagnostics
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more