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 Clone for AccessControlAllowOrigin
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

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

[src]

Performs the conversion.

impl Debug for AccessControlAllowOrigin
[src]

[src]

Formats the value using the given formatter.

impl Display for AccessControlAllowOrigin
[src]

[src]

Formats the value using the given formatter. Read more

impl Eq for AccessControlAllowOrigin
[src]

impl PartialEq<AccessControlAllowOrigin> for AccessControlAllowOrigin
[src]

[src]

[src]