pub struct RadarClient { /* private fields */ }
Implementations§
Source§impl RadarClient
impl RadarClient
pub fn get_bgp_prefix_origins( &self, origin: Option<u32>, prefix: Option<String>, rpki_status: Option<String>, ) -> Result<PrefixOriginsResult, RadarError>
Source§impl RadarClient
impl RadarClient
pub fn get_bgp_routing_stats( &self, asn: Option<u32>, country_code: Option<String>, ) -> Result<RoutingStatsResult, RadarError>
Source§impl RadarClient
impl RadarClient
pub fn new() -> Result<Self, RadarError>
pub fn send_request(&self, route: &str) -> Result<Response, RadarError>
Auto Trait Implementations§
impl Freeze for RadarClient
impl !RefUnwindSafe for RadarClient
impl Send for RadarClient
impl Sync for RadarClient
impl Unpin for RadarClient
impl !UnwindSafe for RadarClient
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