pub struct Proxy<'a> { /* private fields */ }Expand description
The proxy namespace. Obtain via Client::proxy.
Implementations§
Source§impl Proxy<'_>
impl Proxy<'_>
Sourcepub async fn countries(&self) -> Result<ProxyCountries, SolariError>
pub async fn countries(&self) -> Result<ProxyCountries, SolariError>
GET /proxy/countries — supported egress countries, and whether managed
proxy egress is configured on this gateway at all.
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for Proxy<'a>
impl<'a> !UnwindSafe for Proxy<'a>
impl<'a> Freeze for Proxy<'a>
impl<'a> Send for Proxy<'a>
impl<'a> Sync for Proxy<'a>
impl<'a> Unpin for Proxy<'a>
impl<'a> UnsafeUnpin for Proxy<'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