pub struct RdapClient { /* private fields */ }Implementations§
Source§impl RdapClient
impl RdapClient
pub fn new() -> Self
pub fn with_timeout(self, timeout: Duration) -> Self
pub async fn lookup_domain(&self, domain: &str) -> Result<RdapResponse>
pub async fn lookup_ip(&self, ip: &str) -> Result<RdapResponse>
pub async fn lookup_asn(&self, asn: u32) -> Result<RdapResponse>
Trait Implementations§
Source§impl Clone for RdapClient
impl Clone for RdapClient
Source§fn clone(&self) -> RdapClient
fn clone(&self) -> RdapClient
Returns a duplicate of the value. Read more
1.0.0 · 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 RdapClient
impl Debug for RdapClient
Auto Trait Implementations§
impl Freeze for RdapClient
impl !RefUnwindSafe for RdapClient
impl Send for RdapClient
impl Sync for RdapClient
impl Unpin for RdapClient
impl !UnwindSafe for RdapClient
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