pub struct Sender { /* private fields */ }Implementations§
Source§impl Sender
impl Sender
pub fn base_url(&self) -> &String
pub fn new_uri(&self, uri: &Uri) -> Result<Uri, InvalidUri>
pub fn is_ready(&self) -> bool
pub fn is_closed(&self) -> bool
pub fn send_request( &mut self, req: Request<VariantBody>, ) -> impl Future<Output = Result<Response<Incoming>>>
pub fn try_send_request( &mut self, req: Request<VariantBody>, ) -> impl Future<Output = Result<Response<Incoming>, TrySendError<Request<VariantBody>>>>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Sender
impl !RefUnwindSafe for Sender
impl Send for Sender
impl Sync for Sender
impl Unpin for Sender
impl !UnwindSafe for Sender
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