pub struct Resolver<'r> { /* private fields */ }
Available on crate feature
http-resolver
only.Expand description
Options to build a HTTP resolver
Implementations§
Source§impl Resolver<'static>
impl Resolver<'static>
Sourcepub const fn new_static(uri: &'static str, method: ExtractMethod) -> Self
pub const fn new_static(uri: &'static str, method: ExtractMethod) -> Self
Create new HTTP resolver options from static
Trait Implementations§
Auto Trait Implementations§
impl<'r> Freeze for Resolver<'r>
impl<'r> RefUnwindSafe for Resolver<'r>
impl<'r> Send for Resolver<'r>
impl<'r> Sync for Resolver<'r>
impl<'r> Unpin for Resolver<'r>
impl<'r> UnwindSafe for Resolver<'r>
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