pub struct SqlmapTask<'a> { /* private fields */ }Expand description
An RAII tracked execution task. Ensures the Daemon memory is purged cleanly on Drop.
Implementations§
Source§impl<'a> SqlmapTask<'a>
impl<'a> SqlmapTask<'a>
Sourcepub async fn start(&self) -> Result<(), SqlmapError>
pub async fn start(&self) -> Result<(), SqlmapError>
Starts the SQLMap fuzzing on this specific task.
Sourcepub async fn wait_for_completion(
&self,
timeout_secs: u64,
) -> Result<(), SqlmapError>
pub async fn wait_for_completion( &self, timeout_secs: u64, ) -> Result<(), SqlmapError>
Polls the task status until completion. Returns an error on timeout.
Sourcepub async fn fetch_data(&self) -> Result<DataResponse, SqlmapError>
pub async fn fetch_data(&self) -> Result<DataResponse, SqlmapError>
Fetches the compiled data results from the engine.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for SqlmapTask<'a>
impl<'a> !RefUnwindSafe for SqlmapTask<'a>
impl<'a> Send for SqlmapTask<'a>
impl<'a> Sync for SqlmapTask<'a>
impl<'a> Unpin for SqlmapTask<'a>
impl<'a> UnsafeUnpin for SqlmapTask<'a>
impl<'a> !UnwindSafe for SqlmapTask<'a>
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