Struct okaeri_sdk::noproxy::NoProxy [−][src]
pub struct NoProxy { /* fields omitted */ }
Implementations
impl NoProxy
[src]
impl NoProxy
[src]pub fn new<S: Into<String>>(token: S) -> Result<Self, OkaeriSdkError>
[src]
pub fn new_with_config<S: Into<String>>(
token: S,
base_url: Option<&str>,
timeout: Option<Duration>
) -> Result<Self, OkaeriSdkError>
[src]
token: S,
base_url: Option<&str>,
timeout: Option<Duration>
) -> Result<Self, OkaeriSdkError>
pub async fn get_info(
self,
address: &str
) -> Result<NoProxyAddressInfo, OkaeriSdkError>
[src]
self,
address: &str
) -> Result<NoProxyAddressInfo, OkaeriSdkError>
Auto Trait Implementations
impl !RefUnwindSafe for NoProxy
impl Send for NoProxy
impl Sync for NoProxy
impl Unpin for NoProxy
impl !UnwindSafe for NoProxy
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]