pub enum CatalogSelectionResult {
Selected(CatalogSelectionSelected),
Declined(CatalogSelectionDeclined),
Cancelled(CatalogSelectionCancelled),
TimedOut(CatalogSelectionTimedOut),
Invalid(CatalogSelectionInvalid),
Stale(CatalogSelectionStale),
Replayed(CatalogSelectionReplayed),
Foreign(CatalogSelectionForeign),
WrongKind(CatalogSelectionWrongKind),
NegotiationRefused(CatalogNegotiationRefusedError),
InvalidRequest(CatalogInvalidRequestError),
Unavailable(CatalogUnavailableError),
}Expand description
Typed outcome of catalog.select. Only the selected host result carries a fresh candidate handle; the model-facing projection removes both that handle and searchId.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Variants§
Selected(CatalogSelectionSelected)
Declined(CatalogSelectionDeclined)
Cancelled(CatalogSelectionCancelled)
TimedOut(CatalogSelectionTimedOut)
Invalid(CatalogSelectionInvalid)
Stale(CatalogSelectionStale)
Replayed(CatalogSelectionReplayed)
Foreign(CatalogSelectionForeign)
WrongKind(CatalogSelectionWrongKind)
NegotiationRefused(CatalogNegotiationRefusedError)
InvalidRequest(CatalogInvalidRequestError)
Trait Implementations§
Source§impl Clone for CatalogSelectionResult
impl Clone for CatalogSelectionResult
Source§impl Debug for CatalogSelectionResult
impl Debug for CatalogSelectionResult
Source§impl<'de> Deserialize<'de> for CatalogSelectionResult
impl<'de> Deserialize<'de> for CatalogSelectionResult
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 CatalogSelectionResult
impl RefUnwindSafe for CatalogSelectionResult
impl Send for CatalogSelectionResult
impl Sync for CatalogSelectionResult
impl Unpin for CatalogSelectionResult
impl UnsafeUnpin for CatalogSelectionResult
impl UnwindSafe for CatalogSelectionResult
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