Enum static_web_server::cors::Validated
source · pub enum Validated {
Preflight(HeaderValue),
Simple(HeaderValue),
NotCors,
}
Expand description
Validated CORS request.
Variants§
Preflight(HeaderValue)
Validated as preflight.
Simple(HeaderValue)
Validated as simple.
NotCors
Validated as not cors.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Validated
impl RefUnwindSafe for Validated
impl Send for Validated
impl Sync for Validated
impl Unpin for Validated
impl UnwindSafe for Validated
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