pub struct SimpleProbe;Implementations§
Source§impl SimpleProbe
impl SimpleProbe
pub fn new() -> Self
pub async fn probe(&self, target: &str) -> Result<NewProbeResult>
Sourcepub async fn probe_with_method(
&self,
target: &str,
method: &str,
) -> Result<NewProbeResult>
pub async fn probe_with_method( &self, target: &str, method: &str, ) -> Result<NewProbeResult>
Like SimpleProbe::probe but with an explicit HTTP method. The
caller is responsible for gating unsafe (mutating) methods; this
sends whatever it is given.
pub async fn probe_and_store( &self, store: &SqliteStore, target: &str, ) -> Result<ProbeResult>
Trait Implementations§
Source§impl Clone for SimpleProbe
impl Clone for SimpleProbe
Source§fn clone(&self) -> SimpleProbe
fn clone(&self) -> SimpleProbe
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SimpleProbe
impl Debug for SimpleProbe
Source§impl Default for SimpleProbe
impl Default for SimpleProbe
Source§fn default() -> SimpleProbe
fn default() -> SimpleProbe
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SimpleProbe
impl RefUnwindSafe for SimpleProbe
impl Send for SimpleProbe
impl Sync for SimpleProbe
impl Unpin for SimpleProbe
impl UnsafeUnpin for SimpleProbe
impl UnwindSafe for SimpleProbe
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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