Enum kube::runtime::watcher::Error [−][src]
pub enum Error {
InitialListFailed {
source: Error,
backtrace: Backtrace,
},
WatchStartFailed {
source: Error,
backtrace: Backtrace,
},
WatchError {
source: ErrorResponse,
backtrace: Backtrace,
},
WatchFailed {
source: Error,
backtrace: Backtrace,
},
TooManyObjects {
backtrace: Backtrace,
},
}
This is supported on crate feature
runtime
only.Variants
Fields of InitialListFailed
source: Error
backtrace: Backtrace
Fields of WatchStartFailed
source: Error
backtrace: Backtrace
Fields of WatchError
source: ErrorResponse
backtrace: Backtrace
Fields of WatchFailed
source: Error
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 !RefUnwindSafe for Error
impl !UnwindSafe for Error
Blanket Implementations
impl<T> AsErrorSource for T where
T: 'static + Error,
impl<T> AsErrorSource for T where
T: 'static + Error,
pub fn as_error_source(&self) -> &(dyn Error + 'static)
pub fn as_error_source(&self) -> &(dyn Error + 'static)
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
pub fn vzip(self) -> V
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