Enum jsonrpc_http_server::cors::OriginProtocol [−][src]
pub enum OriginProtocol {
Http,
Https,
Custom(String),
}Expand description
Origin Protocol
Variants
Http protocol
Https protocol
Custom(String)Custom protocol
Tuple Fields of Custom
0: StringTrait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for OriginProtocol
impl Send for OriginProtocol
impl Sync for OriginProtocol
impl Unpin for OriginProtocol
impl UnwindSafe for OriginProtocol
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key and return true if they are equal.
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more