pub struct UpstreamClient { /* private fields */ }Expand description
HTTP client to ferra-server. No global request timeout — the watch
connection is long-lived; per-request timeouts come from the
tokio::time::timeout wrappers in the watch loop.
Implementations§
Trait Implementations§
Source§impl Clone for UpstreamClient
impl Clone for UpstreamClient
Source§fn clone(&self) -> UpstreamClient
fn clone(&self) -> UpstreamClient
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for UpstreamClient
impl !UnwindSafe for UpstreamClient
impl Freeze for UpstreamClient
impl Send for UpstreamClient
impl Sync for UpstreamClient
impl Unpin for UpstreamClient
impl UnsafeUnpin for UpstreamClient
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