Enum jsonrpc_server_utils::cors::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 Debug for AccessControlAllowOrigin
[src]
impl Clone for AccessControlAllowOrigin
[src]
fn clone(&self) -> AccessControlAllowOrigin
[−]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[−]
Performs copy-assignment from source
. Read more
impl PartialEq for AccessControlAllowOrigin
[src]
fn eq(&self, __arg_0: &AccessControlAllowOrigin) -> bool
[−]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &AccessControlAllowOrigin) -> bool
[−]
This method tests for !=
.
impl Eq for AccessControlAllowOrigin
[src]
impl Display for AccessControlAllowOrigin
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[−]
Formats the value using the given formatter. Read more
impl<T: Into<String>> From<T> for AccessControlAllowOrigin
[src]
fn from(s: T) -> AccessControlAllowOrigin
[−]
Performs the conversion.