pub struct CatalogUnsafeRetrievalError {
pub kind: CatalogUnsafeRetrievalErrorKind,
pub message: String,
pub reason: CatalogUnsafeRetrievalReason,
}Expand description
Retrieval was refused by the runtime’s hardened fetch boundary before any request left the process, or before a redirect was followed.
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: CatalogUnsafeRetrievalErrorKindDiscriminator: retrieval was refused as unsafe
message: StringHuman-readable explanation, safe to surface. Never contains the refused URL, nor a query, handle, or secret.
reason: CatalogUnsafeRetrievalReasonWhich control refused the retrieval, low cardinality so it can be aggregated without carrying a URL.
Trait Implementations§
Source§impl Clone for CatalogUnsafeRetrievalError
impl Clone for CatalogUnsafeRetrievalError
Source§fn clone(&self) -> CatalogUnsafeRetrievalError
fn clone(&self) -> CatalogUnsafeRetrievalError
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 CatalogUnsafeRetrievalError
impl Debug for CatalogUnsafeRetrievalError
Source§impl Default for CatalogUnsafeRetrievalError
impl Default for CatalogUnsafeRetrievalError
Source§fn default() -> CatalogUnsafeRetrievalError
fn default() -> CatalogUnsafeRetrievalError
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CatalogUnsafeRetrievalError
impl<'de> Deserialize<'de> for CatalogUnsafeRetrievalError
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 CatalogUnsafeRetrievalError
impl RefUnwindSafe for CatalogUnsafeRetrievalError
impl Send for CatalogUnsafeRetrievalError
impl Sync for CatalogUnsafeRetrievalError
impl Unpin for CatalogUnsafeRetrievalError
impl UnsafeUnpin for CatalogUnsafeRetrievalError
impl UnwindSafe for CatalogUnsafeRetrievalError
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