pub enum PreflightResult {
Proceed,
NotModified,
PreconditionFailed,
}Expand description
HTTP conditional preflight result
Variants§
Proceed
Pass preflight check, can continue processing
NotModified
Return 304 Not Modified
PreconditionFailed
Return 412 Precondition Failed
Trait Implementations§
Source§impl Debug for PreflightResult
impl Debug for PreflightResult
Source§impl PartialEq for PreflightResult
impl PartialEq for PreflightResult
impl StructuralPartialEq for PreflightResult
Auto Trait Implementations§
impl Freeze for PreflightResult
impl RefUnwindSafe for PreflightResult
impl Send for PreflightResult
impl Sync for PreflightResult
impl Unpin for PreflightResult
impl UnwindSafe for PreflightResult
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