actix_ipquery

Trait IPQueryStore

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

Define the IPQueryStore trait

Required Methods§

Source

fn store(&self, ip_info: IPInfo) -> Result<(), Error>

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§