Enum jsonrpc_http_server::AccessControlAllowOrigin
[−]
[src]
pub enum AccessControlAllowOrigin { Value(Origin), Null, Any, }
Origins allowed to access
Variants
Value(Origin)
Specific hostname
Null
null-origin (file:///, sandboxed iframe)
Any
Any non-null origin
Trait Implementations
impl Clone for AccessControlAllowOrigin
[src]
fn clone(&self) -> AccessControlAllowOrigin
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Eq for AccessControlAllowOrigin
[src]
impl<T> From<T> for AccessControlAllowOrigin where
T: Into<String>,
[src]
T: Into<String>,
fn from(s: T) -> AccessControlAllowOrigin
[src]
Performs the conversion.
impl PartialEq<AccessControlAllowOrigin> for AccessControlAllowOrigin
[src]
fn eq(&self, __arg_0: &AccessControlAllowOrigin) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &AccessControlAllowOrigin) -> bool
[src]
This method tests for !=
.
impl Debug for AccessControlAllowOrigin
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter.