IPQueryStore

Trait IPQueryStore 

Source
pub trait IPQueryStore:
    Send
    + Sync
    + Clone {
    // Required method
    fn store(
        &self,
        ip_info: IPInfo,
    ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send>>;
}
Expand description

Define the IPQueryStore trait

Required Methods§

Source

fn store( &self, ip_info: IPInfo, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send>>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§