Enum jsonrpc_http_server::AccessControlAllowOrigin [−][src]
pub enum AccessControlAllowOrigin { Value(Origin), Null, Any, }
Origins allowed to access
Variants
Value(Origin)
Specific hostname
null-origin (file:///, sandboxed iframe)
Any non-null origin
Trait Implementations
impl Clone for AccessControlAllowOrigin
[src]
impl Clone for AccessControlAllowOrigin
[src]pub fn clone(&self) -> AccessControlAllowOrigin
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for AccessControlAllowOrigin
[src]
impl Debug for AccessControlAllowOrigin
[src]impl Display for AccessControlAllowOrigin
[src]
impl Display for AccessControlAllowOrigin
[src]impl<T> From<T> for AccessControlAllowOrigin where
T: Into<String>,
[src]
impl<T> From<T> for AccessControlAllowOrigin where
T: Into<String>,
[src]pub fn from(s: T) -> AccessControlAllowOrigin
[src]
impl PartialEq<AccessControlAllowOrigin> for AccessControlAllowOrigin
[src]
impl PartialEq<AccessControlAllowOrigin> for AccessControlAllowOrigin
[src]