[][src]Struct public_ip::http::HttpResolverOptions

pub struct HttpResolverOptions<'a> { /* fields omitted */ }

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]

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]

impl<'a> Debug for HttpResolverOptions<'a>[src]

impl<'a, C> ToResolver<C> for HttpResolverOptions<'a> where
    C: HttpResolverContext
[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]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ResolutionError for T where
    T: Send + Any + Debug
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,