[−][src]Struct external_ip::Consensus
Consensus system that aggregates the various sources of information and returns the most common reply
Methods
impl Consensus
[src]
pub async fn get_consensus(self) -> Option<IpAddr>
[src]
Returns the IP address it found or None if no source worked.
Auto Trait Implementations
impl !RefUnwindSafe for Consensus
impl !Send for Consensus
impl !Sync for Consensus
impl Unpin for Consensus
impl !UnwindSafe for Consensus
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, 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>,