pub struct Any;
Expand description
Represents a wildcard value (*
) used with some CORS headers such as
CorsLayer::allow_methods
.
Trait Implementations§
Source§impl From<Any> for AllowHeaders
impl From<Any> for AllowHeaders
Source§fn from(_: Any) -> AllowHeaders
fn from(_: Any) -> AllowHeaders
Converts to this type from the input type.
Source§impl From<Any> for AllowMethods
impl From<Any> for AllowMethods
Source§fn from(_: Any) -> AllowMethods
fn from(_: Any) -> AllowMethods
Converts to this type from the input type.
Source§impl From<Any> for AllowOrigin
impl From<Any> for AllowOrigin
Source§fn from(_: Any) -> AllowOrigin
fn from(_: Any) -> AllowOrigin
Converts to this type from the input type.
Source§impl From<Any> for ExposeHeaders
impl From<Any> for ExposeHeaders
Source§fn from(_: Any) -> ExposeHeaders
fn from(_: Any) -> ExposeHeaders
Converts to this type from the input type.
impl Copy for Any
Auto Trait Implementations§
impl Freeze for Any
impl RefUnwindSafe for Any
impl Send for Any
impl Sync for Any
impl Unpin for Any
impl UnwindSafe for Any
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