#[non_exhaustive]pub enum NotShown {
Unavailable,
OverBudget,
Unsupported,
}Expand description
Why a file the turn carried was not put in front of the model.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
The application could not hand over the bytes.
OverBudget
The request’s declared budget would not take it.
Unsupported
No model this deployment can route to accepts its kind.
Asked before the request is sent rather than discovered by sending it: a part carrying an image makes a request require vision, and a router with nothing to serve it fails the call. Attaching a photograph to a deployment whose models have no vision would then turn “I could not look at your file” into “the turn failed”, on the turn where the user has just taken the picture.
Trait Implementations§
impl Copy for NotShown
impl Eq for NotShown
impl StructuralPartialEq for NotShown
Auto Trait Implementations§
impl Freeze for NotShown
impl RefUnwindSafe for NotShown
impl Send for NotShown
impl Sync for NotShown
impl Unpin for NotShown
impl UnsafeUnpin for NotShown
impl UnwindSafe for NotShown
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.