pub enum LoggingError {
AuditError(AuditError),
DetectionError(DetectionError),
AlertError(AlertError),
MetricsError(MetricsError),
IoError(Error),
}Expand description
Security logging errors
Variants§
AuditError(AuditError)
DetectionError(DetectionError)
AlertError(AlertError)
MetricsError(MetricsError)
IoError(Error)
Trait Implementations§
Source§impl Debug for LoggingError
impl Debug for LoggingError
Source§impl Display for LoggingError
impl Display for LoggingError
Source§impl Error for LoggingError
impl Error for LoggingError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<AlertError> for LoggingError
impl From<AlertError> for LoggingError
Source§fn from(source: AlertError) -> Self
fn from(source: AlertError) -> Self
Converts to this type from the input type.
Source§impl From<AuditError> for LoggingError
impl From<AuditError> for LoggingError
Source§fn from(source: AuditError) -> Self
fn from(source: AuditError) -> Self
Converts to this type from the input type.
Source§impl From<DetectionError> for LoggingError
impl From<DetectionError> for LoggingError
Source§fn from(source: DetectionError) -> Self
fn from(source: DetectionError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for LoggingError
impl From<Error> for LoggingError
Source§impl From<MetricsError> for LoggingError
impl From<MetricsError> for LoggingError
Source§fn from(source: MetricsError) -> Self
fn from(source: MetricsError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for LoggingError
impl !UnwindSafe for LoggingError
impl Freeze for LoggingError
impl Send for LoggingError
impl Sync for LoggingError
impl Unpin for LoggingError
impl UnsafeUnpin for LoggingError
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> EvidenceKind for T
impl<T> EvidenceKind for T
default fn kind_label(&self) -> &'static str
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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