Enum jsonrpc_server_utils::cors::OriginProtocol [] [src]

pub enum OriginProtocol {
    Http,
    Https,
    Custom(String),
}

Origin Protocol

Variants

Http protocol

Https protocol

Custom protocol

Trait Implementations

impl Clone for OriginProtocol
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Hash for OriginProtocol
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Debug for OriginProtocol
[src]

Formats the value using the given formatter.

impl PartialEq for OriginProtocol
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for OriginProtocol
[src]