pub enum ServedFrom {
Attempt,
BestAttempt,
Error,
}Expand description
Where the served response came from.
Variants§
Attempt
A passing attempt (the normal path).
BestAttempt
The best attempt seen, served because budget/ladder was exhausted without a pass.
Error
No output served; a structured error was returned.
Trait Implementations§
Source§impl Clone for ServedFrom
impl Clone for ServedFrom
Source§fn clone(&self) -> ServedFrom
fn clone(&self) -> ServedFrom
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 moreimpl Copy for ServedFrom
Source§impl Debug for ServedFrom
impl Debug for ServedFrom
Source§impl<'de> Deserialize<'de> for ServedFrom
impl<'de> Deserialize<'de> for ServedFrom
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
impl Eq for ServedFrom
Source§impl PartialEq for ServedFrom
impl PartialEq for ServedFrom
Source§impl Serialize for ServedFrom
impl Serialize for ServedFrom
impl StructuralPartialEq for ServedFrom
Auto Trait Implementations§
impl Freeze for ServedFrom
impl RefUnwindSafe for ServedFrom
impl Send for ServedFrom
impl Sync for ServedFrom
impl Unpin for ServedFrom
impl UnsafeUnpin for ServedFrom
impl UnwindSafe for ServedFrom
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