pub enum ConditionalRequestOutcome {
NotModified(HeaderMapPlan),
FullResponse,
Malformed,
}Expand description
Outcome of evaluating conditional request headers.
Variants§
NotModified(HeaderMapPlan)
Conditional validators match; serve 304 Not Modified with validators.
FullResponse
Conditional validators do not match; serve full response.
Malformed
Conditional headers were malformed or unparseable; serve full response.
Trait Implementations§
Source§impl Clone for ConditionalRequestOutcome
impl Clone for ConditionalRequestOutcome
Source§fn clone(&self) -> ConditionalRequestOutcome
fn clone(&self) -> ConditionalRequestOutcome
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 ConditionalRequestOutcome
impl Debug for ConditionalRequestOutcome
impl Eq for ConditionalRequestOutcome
impl StructuralPartialEq for ConditionalRequestOutcome
Auto Trait Implementations§
impl Freeze for ConditionalRequestOutcome
impl RefUnwindSafe for ConditionalRequestOutcome
impl Send for ConditionalRequestOutcome
impl Sync for ConditionalRequestOutcome
impl Unpin for ConditionalRequestOutcome
impl UnsafeUnpin for ConditionalRequestOutcome
impl UnwindSafe for ConditionalRequestOutcome
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