TorCheck

Trait TorCheck 

Source
pub trait TorCheck {
    type Result;

    // Required method
    fn tor_check(self) -> Self::Result;
}
Expand description

Trait for Tor connection checking.

Required Associated Types§

Required Methods§

Source

fn tor_check(self) -> Self::Result

Verify if you are correctly connected to Tor.

Return the HTTP client on success.

Implementations on Foreign Types§

Source§

impl TorCheck for Client

Available on crate feature reqwest only.
Source§

impl TorCheck for Agent

Available on crate feature ureq only.

Implementors§