Struct tower_http::cors::Any
source · [−]#[non_exhaustive]pub struct Any;
This is supported on crate feature
cors
only.Expand description
Represents a wildcard value (*
) used with some CORS headers such as
CorsLayer::allow_methods
.
Created with any
.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Any
impl UnwindSafe for Any
Blanket Implementations
Mutably borrows from an owned value. Read more
This is supported on crate feature
follow-redirect
only.Create a new Policy
that returns Action::Follow
only if self
and other
return
Action::Follow
. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more