pub enum DnsPrefetchControl {
Off,
On,
}Expand description
DNS Prefetch Control options
Variants§
Implementations§
Source§impl DnsPrefetchControl
impl DnsPrefetchControl
pub fn to_header_value(&self) -> String
Trait Implementations§
Source§impl Clone for DnsPrefetchControl
impl Clone for DnsPrefetchControl
Source§fn clone(&self) -> DnsPrefetchControl
fn clone(&self) -> DnsPrefetchControl
Returns a duplicate 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 DnsPrefetchControl
impl Debug for DnsPrefetchControl
Source§impl PartialEq for DnsPrefetchControl
impl PartialEq for DnsPrefetchControl
impl Copy for DnsPrefetchControl
impl Eq for DnsPrefetchControl
impl StructuralPartialEq for DnsPrefetchControl
Auto Trait Implementations§
impl Freeze for DnsPrefetchControl
impl RefUnwindSafe for DnsPrefetchControl
impl Send for DnsPrefetchControl
impl Sync for DnsPrefetchControl
impl Unpin for DnsPrefetchControl
impl UnwindSafe for DnsPrefetchControl
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Injectable for T
impl<T> Injectable for T
Source§fn type_id_of() -> TypeIdwhere
Self: Sized,
fn type_id_of() -> TypeIdwhere
Self: Sized,
Returns the TypeId of this type (for internal use)
Source§fn type_name_of() -> &'static strwhere
Self: Sized,
fn type_name_of() -> &'static strwhere
Self: Sized,
Returns the type name for debugging