pub struct UpdateCheckHttpClient { /* private fields */ }Expand description
HTTP update-check transport used by the CLI compatibility path.
Implementations§
Source§impl UpdateCheckHttpClient
impl UpdateCheckHttpClient
Sourcepub fn with_timeout(self, timeout: Duration) -> Self
pub fn with_timeout(self, timeout: Duration) -> Self
Overrides the request timeout.
Trait Implementations§
Source§impl Clone for UpdateCheckHttpClient
impl Clone for UpdateCheckHttpClient
Source§fn clone(&self) -> UpdateCheckHttpClient
fn clone(&self) -> UpdateCheckHttpClient
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 moreSource§impl Debug for UpdateCheckHttpClient
impl Debug for UpdateCheckHttpClient
Source§impl Default for UpdateCheckHttpClient
impl Default for UpdateCheckHttpClient
Auto Trait Implementations§
impl Freeze for UpdateCheckHttpClient
impl RefUnwindSafe for UpdateCheckHttpClient
impl Send for UpdateCheckHttpClient
impl Sync for UpdateCheckHttpClient
impl Unpin for UpdateCheckHttpClient
impl UnsafeUnpin for UpdateCheckHttpClient
impl UnwindSafe for UpdateCheckHttpClient
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