pub struct HttpKeyFetcher { /* private fields */ }Expand description
Production fetcher: .well-known delegation, then HTTPS GET of the key document.
Implementations§
Source§impl HttpKeyFetcher
impl HttpKeyFetcher
Sourcepub fn with_override(self, server_name: &str, base_url: &str) -> Self
pub fn with_override(self, server_name: &str, base_url: &str) -> Self
Staging aid: talk to server_name at base_url (e.g. http://127.0.0.1:9000) instead of resolving it.
Sourcepub fn with_overrides_from(self, spec: &str) -> Self
pub fn with_overrides_from(self, spec: &str) -> Self
Parse name=base_url,name2=base_url2.
Trait Implementations§
Source§impl Default for HttpKeyFetcher
impl Default for HttpKeyFetcher
Source§impl FedTransport for HttpKeyFetcher
impl FedTransport for HttpKeyFetcher
Source§impl RemoteKeys for HttpKeyFetcher
impl RemoteKeys for HttpKeyFetcher
Source§fn fetch_server_keys<'a>(&'a self, server: &'a str) -> FetchFuture<'a>
fn fetch_server_keys<'a>(&'a self, server: &'a str) -> FetchFuture<'a>
Resolve
server and return its raw key response (unvalidated).Auto Trait Implementations§
impl !RefUnwindSafe for HttpKeyFetcher
impl !UnwindSafe for HttpKeyFetcher
impl Freeze for HttpKeyFetcher
impl Send for HttpKeyFetcher
impl Sync for HttpKeyFetcher
impl Unpin for HttpKeyFetcher
impl UnsafeUnpin for HttpKeyFetcher
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