Enum jsonrpc_http_server::AccessControlAllowOrigin [−][src]
pub enum AccessControlAllowOrigin {
Value(Origin),
Null,
Any,
}Expand description
Origins allowed to access
Variants
Value(Origin)Specific hostname
Tuple Fields of Value
0: Originnull-origin (file:///, sandboxed iframe)
Any non-null origin
Trait Implementations
Performs the conversion.
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 AccessControlAllowOrigin
impl Send for AccessControlAllowOrigin
impl Sync for AccessControlAllowOrigin
impl Unpin for AccessControlAllowOrigin
impl UnwindSafe for AccessControlAllowOrigin
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