Enum jsonrpc_http_server::AccessControlAllowOrigin [] [src]

pub enum AccessControlAllowOrigin {
    Value(Origin),
    Null,
    Any,
}

Origins allowed to access

Variants

Specific hostname

null-origin (file:///, sandboxed iframe)

Any non-null origin

Trait Implementations

impl Display for AccessControlAllowOrigin
[src]

Formats the value using the given formatter. Read more

impl Eq for AccessControlAllowOrigin
[src]

impl<T> From<T> for AccessControlAllowOrigin where
    T: Into<String>, 
[src]

Performs the conversion.

impl PartialEq<AccessControlAllowOrigin> for AccessControlAllowOrigin
[src]

impl Debug for AccessControlAllowOrigin
[src]

Formats the value using the given formatter.

impl Clone for AccessControlAllowOrigin
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more