[−][src]Struct public_ip::http::HttpResolverOptions
Options to build a HTTP resolver
Implementations
impl<'a> HttpResolverOptions<'a>
[src]
pub fn new<U>(uri: U, method: ExtractMethod) -> Self where
U: Into<Cow<'a, str>>,
[src]
U: Into<Cow<'a, str>>,
Create new HTTP resolver options
impl HttpResolverOptions<'static>
[src]
pub const fn new_static(uri: &'static str, method: ExtractMethod) -> Self
[src]
Create new HTTP resolver options from static
Trait Implementations
impl<'a> Clone for HttpResolverOptions<'a>
[src]
fn clone(&self) -> HttpResolverOptions<'a>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'a> Debug for HttpResolverOptions<'a>
[src]
impl<'a, C> ToResolver<C> for HttpResolverOptions<'a> where
C: HttpResolverContext,
[src]
C: HttpResolverContext,
type Resolver = ResultResolver<HttpResolver, HttpResolutionError>
fn to_resolver(&self) -> Self::Resolver
[src]
Auto Trait Implementations
impl<'a> RefUnwindSafe for HttpResolverOptions<'a>
impl<'a> Send for HttpResolverOptions<'a>
impl<'a> Sync for HttpResolverOptions<'a>
impl<'a> Unpin for HttpResolverOptions<'a>
impl<'a> UnwindSafe for HttpResolverOptions<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ResolutionError for T where
T: Send + Any + Debug,
[src]
T: Send + Any + Debug,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,