Enum kube_runtime::controller::Error [−][src]
pub enum Error<ReconcilerErr: Error + 'static, QueueErr: Error + 'static> { ObjectNotFound { obj_ref: ObjectRef<DynamicObject>, backtrace: Backtrace, }, ReconcilerFailed { source: ReconcilerErr, backtrace: Backtrace, }, SchedulerDequeueFailed { source: Error, }, QueueError { source: QueueErr, backtrace: Backtrace, }, }
Variants
Show fields
Fields of ObjectNotFound
obj_ref: ObjectRef<DynamicObject>backtrace: BacktraceShow fields
Fields of ReconcilerFailed
source: ReconcilerErrbacktrace: BacktraceShow fields
Fields of SchedulerDequeueFailed
source: ErrorShow fields
Fields of QueueError
source: QueueErrbacktrace: BacktraceTrait Implementations
impl<ReconcilerErr: Debug + Error + 'static, QueueErr: Debug + Error + 'static> Debug for Error<ReconcilerErr, QueueErr>[src]
impl<ReconcilerErr: Debug + Error + 'static, QueueErr: Debug + Error + 'static> Debug for Error<ReconcilerErr, QueueErr>[src]impl<ReconcilerErr: Error + 'static, QueueErr: Error + 'static> Display for Error<ReconcilerErr, QueueErr>[src]
impl<ReconcilerErr: Error + 'static, QueueErr: Error + 'static> Display for Error<ReconcilerErr, QueueErr>[src]impl<ReconcilerErr: Error + 'static, QueueErr: Error + 'static> Error for Error<ReconcilerErr, QueueErr> where
Self: Debug + Display, [src]
impl<ReconcilerErr: Error + 'static, QueueErr: Error + 'static> Error for Error<ReconcilerErr, QueueErr> where
Self: Debug + Display, [src]fn description(&self) -> &str[src]
fn description(&self) -> &str[src]👎 Deprecated since 1.42.0:
use the Display impl or to_string()
fn cause(&self) -> Option<&dyn Error>[src]
fn cause(&self) -> Option<&dyn Error>[src]👎 Deprecated since 1.33.0:
replaced by Error::source, which can support downcasting
Auto Trait Implementations
impl<ReconcilerErr, QueueErr> RefUnwindSafe for Error<ReconcilerErr, QueueErr> where
QueueErr: RefUnwindSafe,
ReconcilerErr: RefUnwindSafe,
QueueErr: RefUnwindSafe,
ReconcilerErr: RefUnwindSafe,
impl<ReconcilerErr, QueueErr> Send for Error<ReconcilerErr, QueueErr> where
QueueErr: Send,
ReconcilerErr: Send,
QueueErr: Send,
ReconcilerErr: Send,
impl<ReconcilerErr, QueueErr> Sync for Error<ReconcilerErr, QueueErr> where
QueueErr: Sync,
ReconcilerErr: Sync,
QueueErr: Sync,
ReconcilerErr: Sync,
impl<ReconcilerErr, QueueErr> Unpin for Error<ReconcilerErr, QueueErr> where
QueueErr: Unpin,
ReconcilerErr: Unpin,
QueueErr: Unpin,
ReconcilerErr: Unpin,
impl<ReconcilerErr, QueueErr> UnwindSafe for Error<ReconcilerErr, QueueErr> where
QueueErr: UnwindSafe,
ReconcilerErr: UnwindSafe,
QueueErr: UnwindSafe,
ReconcilerErr: UnwindSafe,
Blanket Implementations
impl<T> AsErrorSource for T where
T: 'static + Error, [src]
impl<T> AsErrorSource for T where
T: 'static + Error, [src]pub fn as_error_source(&self) -> &(dyn Error + 'static)[src]
pub fn as_error_source(&self) -> &(dyn Error + 'static)[src]For maximum effectiveness, this needs to be called as a method to benefit from Rust’s automatic dereferencing of method receivers. Read more
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> Instrument for T[src]
impl<T> Instrument for T[src]fn instrument(self, span: Span) -> Instrumented<Self>[src]
fn instrument(self, span: Span) -> Instrumented<Self>[src]Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>[src]
fn in_current_span(self) -> Instrumented<Self>[src]