Enum jsonrpsee_core::server::access_control::cors::OriginProtocol
source · pub enum OriginProtocol {
Http,
Https,
Custom(String),
}
Expand description
Origin Protocol
Variants§
Trait Implementations§
source§impl Clone for OriginProtocol
impl Clone for OriginProtocol
source§fn clone(&self) -> OriginProtocol
fn clone(&self) -> OriginProtocol
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for OriginProtocol
impl Debug for OriginProtocol
source§impl Hash for OriginProtocol
impl Hash for OriginProtocol
source§impl PartialEq<OriginProtocol> for OriginProtocol
impl PartialEq<OriginProtocol> for OriginProtocol
source§fn eq(&self, other: &OriginProtocol) -> bool
fn eq(&self, other: &OriginProtocol) -> bool
impl Eq for OriginProtocol
impl StructuralEq for OriginProtocol
impl StructuralPartialEq for OriginProtocol
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§
source§impl<T> CallHasher for Twhere
T: Hash + ?Sized,
impl<T> CallHasher for Twhere
T: Hash + ?Sized,
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.