Enum solana_jsonrpc_http_server::cors::AccessControlAllowHeaders[][src]

pub enum AccessControlAllowHeaders {
    Only(Vec<String>),
    Any,
}

Headers allowed to access

Variants

Specific headers

Any header

Trait Implementations

impl Clone for AccessControlAllowHeaders
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for AccessControlAllowHeaders
[src]

Formats the value using the given formatter. Read more

impl PartialEq<AccessControlAllowHeaders> for AccessControlAllowHeaders
[src]

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

This method tests for !=.

Auto Trait Implementations