pub struct CatalogNetworkFailureError {
pub kind: CatalogNetworkFailureErrorKind,
pub message: String,
pub reason: CatalogNetworkFailureReason,
pub status_code: Option<i32>,
}Expand description
The runtime could not reach the catalog authority or retrieve a card. Covers being offline as well as transport-level failure.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§kind: CatalogNetworkFailureErrorKindDiscriminator: the network operation failed
message: StringHuman-readable explanation, safe to surface. Never contains a query, URL, handle, or secret.
reason: CatalogNetworkFailureReasonCategorised failure, low cardinality so it can be aggregated without carrying a URL.
status_code: Option<i32>HTTP status code, when the failure was a rejected response.
Trait Implementations§
Source§impl Clone for CatalogNetworkFailureError
impl Clone for CatalogNetworkFailureError
Source§fn clone(&self) -> CatalogNetworkFailureError
fn clone(&self) -> CatalogNetworkFailureError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CatalogNetworkFailureError
impl Debug for CatalogNetworkFailureError
Source§impl Default for CatalogNetworkFailureError
impl Default for CatalogNetworkFailureError
Source§fn default() -> CatalogNetworkFailureError
fn default() -> CatalogNetworkFailureError
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CatalogNetworkFailureError
impl<'de> Deserialize<'de> for CatalogNetworkFailureError
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
Auto Trait Implementations§
impl Freeze for CatalogNetworkFailureError
impl RefUnwindSafe for CatalogNetworkFailureError
impl Send for CatalogNetworkFailureError
impl Sync for CatalogNetworkFailureError
impl Unpin for CatalogNetworkFailureError
impl UnsafeUnpin for CatalogNetworkFailureError
impl UnwindSafe for CatalogNetworkFailureError
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