pub struct HttpClient;Trait Implementations§
Source§impl Guest for HttpClient
impl Guest for HttpClient
Source§fn handle(
_: OutgoingRequest,
_: Option<RequestOptions>,
) -> Result<FutureIncomingResponse, ErrorCode>
fn handle( _: OutgoingRequest, _: Option<RequestOptions>, ) -> Result<FutureIncomingResponse, ErrorCode>
This function is invoked with an outgoing HTTP Request, and it returns
a resource
future-incoming-response which represents an HTTP Response
which may arrive in the future. Read moreAuto Trait Implementations§
impl Freeze for HttpClient
impl RefUnwindSafe for HttpClient
impl Send for HttpClient
impl Sync for HttpClient
impl Unpin for HttpClient
impl UnsafeUnpin for HttpClient
impl UnwindSafe for HttpClient
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