pub struct ContinueBuilder<'a, 'b, 'c> {
inner: Weak<Route>,
args: ContinueArgs<'a, 'b, 'c>,
}Fields§
§inner: Weak<Route>§args: ContinueArgs<'a, 'b, 'c>Implementations§
Source§impl<'a, 'b, 'c> ContinueBuilder<'a, 'b, 'c>
impl<'a, 'b, 'c> ContinueBuilder<'a, 'b, 'c>
pub(crate) fn new(inner: Weak<Impl>) -> Self
pub async fn continue(self) -> Result<(), Arc<Error>>
Sourcepub fn headers<T>(self, x: T) -> Self
pub fn headers<T>(self, x: T) -> Self
If set changes the request HTTP headers. Header values will be converted to a string.
Sourcepub fn url(self, x: &'a str) -> Self
pub fn url(self, x: &'a str) -> Self
If set changes the request URL. New URL must have same protocol as original one.
pub fn clear_method(self) -> Self
pub fn clear_post_data(self) -> Self
pub fn clear_url(self) -> Self
pub fn clear_headers(self) -> Self
Auto Trait Implementations§
impl<'a, 'b, 'c> Freeze for ContinueBuilder<'a, 'b, 'c>
impl<'a, 'b, 'c> RefUnwindSafe for ContinueBuilder<'a, 'b, 'c>
impl<'a, 'b, 'c> Send for ContinueBuilder<'a, 'b, 'c>
impl<'a, 'b, 'c> Sync for ContinueBuilder<'a, 'b, 'c>
impl<'a, 'b, 'c> Unpin for ContinueBuilder<'a, 'b, 'c>
impl<'a, 'b, 'c> UnwindSafe for ContinueBuilder<'a, 'b, 'c>
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