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
Fields of ReconcilerFailed
source: ReconcilerErr
backtrace: Backtrace
Fields of SchedulerDequeueFailed
source: Error
Fields of QueueError
source: QueueErr
backtrace: Backtrace
Trait Implementations
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
👎 Deprecated since 1.33.0:
replaced by Error::source, which can support downcasting
The lower-level source of this error, if any. Read more
Auto Trait Implementations
impl<ReconcilerErr, QueueErr> RefUnwindSafe for Error<ReconcilerErr, QueueErr> where
QueueErr: RefUnwindSafe,
ReconcilerErr: RefUnwindSafe,
impl<ReconcilerErr, QueueErr> Send for Error<ReconcilerErr, QueueErr> where
QueueErr: Send,
ReconcilerErr: Send,
impl<ReconcilerErr, QueueErr> Sync for Error<ReconcilerErr, QueueErr> where
QueueErr: Sync,
ReconcilerErr: Sync,
impl<ReconcilerErr, QueueErr> Unpin for Error<ReconcilerErr, QueueErr> where
QueueErr: Unpin,
ReconcilerErr: Unpin,
impl<ReconcilerErr, QueueErr> UnwindSafe for Error<ReconcilerErr, QueueErr> where
QueueErr: UnwindSafe,
ReconcilerErr: UnwindSafe,
Blanket Implementations
For maximum effectiveness, this needs to be called as a method to benefit from Rust’s automatic dereferencing of method receivers. Read more
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more