pub enum ErrorDetail {
Show 21 variants
Aborted {
reason: String,
},
DeadlineExceeded {
submitted: bool,
},
InvalidRequest {
field: Option<String>,
reason: String,
},
UnsupportedVersion {
observed: u32,
maximum_supported: u32,
},
Unauthenticated,
PermissionDenied {
action: Option<String>,
workload_class: Option<WorkloadClass>,
},
NotFound {
resource: Option<String>,
},
Conflict {
expected_revision: Option<U64>,
observed_revision: Option<U64>,
},
StaleCursor {
restart_count: u32,
},
RestartBudgetExhausted {
maximum_restarts: u32,
},
LimitExceeded {
limit_id: String,
maximum: U64,
},
CapabilityUnavailable {
capability: Option<String>,
},
NotSubmitted {
retry_after_millis: Option<U64>,
},
SubmittedIndeterminate {
locator: Option<Locator>,
},
ExpiredUnknown {
locator: Option<Locator>,
},
SecretNotEscrowed,
RetentionGap {
retired_through: U64,
},
ArtifactRangeInvalid {
maximum_bytes: U64,
},
ChecksumMismatch {
expected: Digest,
observed: Digest,
},
TemporarilyUnavailable {
retry_after_millis: Option<U64>,
},
Internal,
}Variants§
Aborted
DeadlineExceeded
InvalidRequest
UnsupportedVersion
Unauthenticated
PermissionDenied
NotFound
Conflict
StaleCursor
RestartBudgetExhausted
LimitExceeded
NotSubmitted
SubmittedIndeterminate
ExpiredUnknown
SecretNotEscrowed
RetentionGap
ArtifactRangeInvalid
ChecksumMismatch
Internal
Trait Implementations§
Source§impl Clone for ErrorDetail
impl Clone for ErrorDetail
Source§impl Debug for ErrorDetail
impl Debug for ErrorDetail
Source§impl<'de> Deserialize<'de> for ErrorDetail
impl<'de> Deserialize<'de> for ErrorDetail
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ErrorDetail
impl PartialEq for ErrorDetail
Source§impl Serialize for ErrorDetail
impl Serialize for ErrorDetail
impl StructuralPartialEq for ErrorDetail
Auto Trait Implementations§
impl Freeze for ErrorDetail
impl RefUnwindSafe for ErrorDetail
impl Send for ErrorDetail
impl Sync for ErrorDetail
impl Unpin for ErrorDetail
impl UnsafeUnpin for ErrorDetail
impl UnwindSafe for ErrorDetail
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