pub enum Error {
Base64(DecodeError),
Gzip(Error),
Json(Error),
Kube(Error),
MissingRecord(String),
Object {
name: String,
source: Box<Error>,
},
}Expand description
Failures reading or decoding a release record.
Variants§
Base64(DecodeError)
The record is not valid base64.
Gzip(Error)
The record starts with the gzip magic but does not decompress.
Json(Error)
The decoded record is not a release.
Kube(Error)
The cluster could not be queried.
MissingRecord(String)
A storage object holds no release entry.
Object
A storage object’s record could not be decoded.
Trait Implementations§
Source§impl Error for Error
impl Error for Error
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<DecodeError> for Error
impl From<DecodeError> for Error
Source§fn from(source: DecodeError) -> Self
fn from(source: DecodeError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for Error
impl !UnwindSafe for Error
impl Forget for Error
impl Freeze for Errorwhere
*const () is !null: Freeze,
PhantomData<ErrorData<CustomOwner>>: Freeze,
*const ErrorImpl is !null: Freeze,
PhantomData<ErrorImpl>: Freeze,
*const Status is !null: Freeze,
PhantomData<Status>: Freeze,
*const ErrorImpl is !null: Freeze,
PhantomData<ErrorImpl>: Freeze,
*const dyn Error + Sync + Send is !null: Freeze,
PhantomData<dyn Error + Sync + Send>: Freeze,
*const Uri is !null: Freeze,
PhantomData<Uri>: Freeze,
&'static str: Freeze,
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
*const Error is !null: Freeze,
PhantomData<Error>: Freeze,
*const Error is !null: Freeze,
PhantomData<Error>: Freeze,
PhantomData<ContentType>: Freeze,
PhantomData<HandshakeType>: Freeze,
PhantomData<EchConfigPayload>: Freeze,
PhantomData<AlgorithmIdentifier>: Freeze,
PhantomData<String>: Freeze,
PhantomData<usize>: Freeze,
PhantomData<ExtendedKeyPurpose>: Freeze,
*const ArcInner<dyn Error + Sync + Send> is !null: Freeze,
PhantomData<ArcInner<dyn Error + Sync + Send>>: Freeze,
*const ArcInner<ErrorInner> is !null: Freeze,
PhantomData<ArcInner<ErrorInner>>: Freeze,
*const Output is !null: Freeze,
PhantomData<Output>: Freeze,
*const Error is !null: Freeze,
PhantomData<Error>: Freeze,
impl Move for Error
impl Send for Errorwhere
Repr: Send,
BoxRaw<ErrorImpl>: Send,
BoxRaw<Status>: Send,
BoxRaw<ErrorImpl>: Send,
BoxRaw<dyn Error + Sync + Send>: Send,
BoxRaw<Uri>: Send,
&'static str: Send,
RawVecInner: Send,
BoxRaw<Error>: Send,
BoxRaw<Error>: Send,
&'static [u8]: Send,
Arc<dyn Error + Sync + Send>: Send,
Arc<ErrorInner>: Send,
BoxRaw<Output>: Send,
BoxRaw<Error>: Send,
impl Sync for Errorwhere
Repr: Sync,
BoxRaw<ErrorImpl>: Sync,
BoxRaw<Status>: Sync,
BoxRaw<ErrorImpl>: Sync,
BoxRaw<dyn Error + Sync + Send>: Sync,
BoxRaw<Uri>: Sync,
RawVecInner: Sync,
BoxRaw<Error>: Sync,
BoxRaw<Error>: Sync,
Arc<dyn Error + Sync + Send>: Sync,
Arc<ErrorInner>: Sync,
BoxRaw<Output>: Sync,
BoxRaw<Error>: Sync,
impl Unpin for Errorwhere
*const () is !null: Unpin,
&'static SimpleMessage: Unpin,
*const Custom is !null: Unpin,
Box<ErrorImpl>: Unpin,
Box<Status>: Unpin,
Box<ErrorImpl>: Unpin,
Box<dyn Error + Sync + Send>: Unpin,
Box<Uri>: Unpin,
&'static str: Unpin,
*const u8 is !null: Unpin,
Box<Error>: Unpin,
Box<Error>: Unpin,
&'static [u8]: Unpin,
Arc<dyn Error + Sync + Send>: Unpin,
Arc<ErrorInner>: Unpin,
Box<Output>: Unpin,
Box<Error>: Unpin,
impl UnsafeUnpin for Errorwhere
*const () is !null: UnsafeUnpin,
PhantomData<ErrorData<CustomOwner>>: UnsafeUnpin,
*const ErrorImpl is !null: UnsafeUnpin,
PhantomData<ErrorImpl>: UnsafeUnpin,
*const Status is !null: UnsafeUnpin,
PhantomData<Status>: UnsafeUnpin,
*const ErrorImpl is !null: UnsafeUnpin,
PhantomData<ErrorImpl>: UnsafeUnpin,
*const dyn Error + Sync + Send is !null: UnsafeUnpin,
PhantomData<dyn Error + Sync + Send>: UnsafeUnpin,
*const Uri is !null: UnsafeUnpin,
PhantomData<Uri>: UnsafeUnpin,
&'static str: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const Error is !null: UnsafeUnpin,
PhantomData<Error>: UnsafeUnpin,
*const Error is !null: UnsafeUnpin,
PhantomData<Error>: UnsafeUnpin,
PhantomData<ContentType>: UnsafeUnpin,
PhantomData<HandshakeType>: UnsafeUnpin,
PhantomData<EchConfigPayload>: UnsafeUnpin,
PhantomData<AlgorithmIdentifier>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<usize>: UnsafeUnpin,
PhantomData<ExtendedKeyPurpose>: UnsafeUnpin,
*const ArcInner<dyn Error + Sync + Send> is !null: UnsafeUnpin,
PhantomData<ArcInner<dyn Error + Sync + Send>>: UnsafeUnpin,
*const ArcInner<ErrorInner> is !null: UnsafeUnpin,
PhantomData<ArcInner<ErrorInner>>: UnsafeUnpin,
*const Output is !null: UnsafeUnpin,
PhantomData<Output>: UnsafeUnpin,
*const Error is !null: UnsafeUnpin,
PhantomData<Error>: UnsafeUnpin,
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> 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 moreSource§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<T> ServiceExt for T
impl<T> ServiceExt for T
Source§fn map_response_body<F>(self, f: F) -> MapResponseBody<Self, F>where
Self: Sized,
fn map_response_body<F>(self, f: F) -> MapResponseBody<Self, F>where
Self: Sized,
Apply a transformation to the response body. Read more
Source§fn trace_for_http(self) -> Trace<Self, SharedClassifier<ServerErrorsAsFailures>>where
Self: Sized,
fn trace_for_http(self) -> Trace<Self, SharedClassifier<ServerErrorsAsFailures>>where
Self: Sized,
High level tracing that classifies responses using HTTP status codes. Read more
Source§fn trace_for_grpc(self) -> Trace<Self, SharedClassifier<GrpcErrorsAsFailures>>where
Self: Sized,
fn trace_for_grpc(self) -> Trace<Self, SharedClassifier<GrpcErrorsAsFailures>>where
Self: Sized,
High level tracing that classifies responses using gRPC headers. Read more