pub struct TestCaller<'app> { /* private fields */ }Implementations§
Source§impl<'app> TestCaller<'app>
impl<'app> TestCaller<'app>
pub fn get(&self, path: &str) -> TestRequest
pub fn post(&self, path: &str) -> TestRequest
pub fn request(&self, route: &RoutePath) -> TestRequest
Auto Trait Implementations§
impl<'app> !RefUnwindSafe for TestCaller<'app>
impl<'app> !UnwindSafe for TestCaller<'app>
impl<'app> Freeze for TestCaller<'app>
impl<'app> Send for TestCaller<'app>
impl<'app> Sync for TestCaller<'app>
impl<'app> Unpin for TestCaller<'app>
impl<'app> UnsafeUnpin for TestCaller<'app>
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