Enum jsonrpsee_http_server::AccessControlAllowOrigin [−][src]
pub enum AccessControlAllowOrigin {
Value(Origin),
Null,
Any,
}Expand description
Origins allowed to access
Variants
Value(Origin)
Specific hostname
Null
null-origin (file:///, sandboxed iframe)
Any
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.
pub fn vzip(self) -> V
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