pub struct CatalogHandleRejectedError {
pub handle_type: CatalogHandleType,
pub kind: CatalogHandleRejectedErrorKind,
pub message: String,
pub reason: CatalogHandleRejectionReason,
}Expand description
A presented handle was not accepted. Handles are runtime-instance scoped, TTL-bound, and single-use, so each way of failing is reported distinctly.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§handle_type: CatalogHandleTypeWhich kind of handle was presented.
kind: CatalogHandleRejectedErrorKindDiscriminator: a handle was rejected
message: StringHuman-readable explanation, safe to surface. Never contains the handle itself, nor a query, URL, or secret.
reason: CatalogHandleRejectionReasonWhy the handle was rejected.
Trait Implementations§
Source§impl Clone for CatalogHandleRejectedError
impl Clone for CatalogHandleRejectedError
Source§fn clone(&self) -> CatalogHandleRejectedError
fn clone(&self) -> CatalogHandleRejectedError
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 CatalogHandleRejectedError
impl Debug for CatalogHandleRejectedError
Source§impl Default for CatalogHandleRejectedError
impl Default for CatalogHandleRejectedError
Source§fn default() -> CatalogHandleRejectedError
fn default() -> CatalogHandleRejectedError
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CatalogHandleRejectedError
impl<'de> Deserialize<'de> for CatalogHandleRejectedError
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 CatalogHandleRejectedError
impl RefUnwindSafe for CatalogHandleRejectedError
impl Send for CatalogHandleRejectedError
impl Sync for CatalogHandleRejectedError
impl Unpin for CatalogHandleRejectedError
impl UnsafeUnpin for CatalogHandleRejectedError
impl UnwindSafe for CatalogHandleRejectedError
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