pub struct NativeHttpClient { /* private fields */ }Expand description
Standard reqwest-based HTTP client used when the Ghola sidecar is
disabled or unavailable.
Implementations§
Source§impl NativeHttpClient
impl NativeHttpClient
Sourcepub fn new() -> Result<Self, ScopeError>
pub fn new() -> Result<Self, ScopeError>
Creates a new native HTTP client with a 30-second timeout.
Trait Implementations§
Source§impl HttpClient for NativeHttpClient
impl HttpClient for NativeHttpClient
Auto Trait Implementations§
impl !RefUnwindSafe for NativeHttpClient
impl !UnwindSafe for NativeHttpClient
impl Freeze for NativeHttpClient
impl Send for NativeHttpClient
impl Sync for NativeHttpClient
impl Unpin for NativeHttpClient
impl UnsafeUnpin for NativeHttpClient
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