[−][src]Struct fup::irr::IrrClient
IRR client.
Protocol docs:
- https://github.com/irrdnet/irrd/blob/master/src/programs/IRRd/COMMANDS.INFO
- https://github.com/irrdnet/irrd/blob/master/irrd-user.pdf
Methods
impl IrrClient
[src]
pub fn open<S: ToSocketAddrs>(target: S, sources: &str) -> AppResult<Self>
[src]
pub fn close(&mut self) -> Result<()>
[src]
pub fn peer_addr(&self) -> Result<SocketAddr>
[src]
pub fn resolve_as_sets<'a>(
&mut self,
sets: &Set<&'a str>
) -> AppResult<Map<&'a str, Vec<u32>>>
[src]
&mut self,
sets: &Set<&'a str>
) -> AppResult<Map<&'a str, Vec<u32>>>
pub fn resolve_route_sets<'a>(
&mut self,
sets: &'a Set<&str>
) -> AppResult<Map<&'a str, Vec<Prefix>>>
[src]
&mut self,
sets: &'a Set<&str>
) -> AppResult<Map<&'a str, Vec<Prefix>>>
pub fn resolve_autnums(
&mut self,
autnums: &Set<u32>
) -> AppResult<Map<u32, Vec<Prefix>>>
[src]
&mut self,
autnums: &Set<u32>
) -> AppResult<Map<u32, Vec<Prefix>>>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for IrrClient
impl Send for IrrClient
impl Sync for IrrClient
impl Unpin for IrrClient
impl UnwindSafe for IrrClient
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Sealed<T> for T where
T: ?Sized,
T: ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,