Enum jsonrpc_http_server::AccessControlAllowOrigin [−][src]
pub enum AccessControlAllowOrigin { Value(Origin), Null, Any, }
Expand description
Origins allowed to access
Variants
Value(Origin)
Specific hostname
null-origin (file:///, sandboxed iframe)
Any non-null origin
Trait Implementations
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for AccessControlAllowOrigin
impl Send for AccessControlAllowOrigin
impl Sync for AccessControlAllowOrigin
impl Unpin for AccessControlAllowOrigin
impl UnwindSafe for AccessControlAllowOrigin
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more