pub trait ProxyRepository {
// Required method
fn maybe_get_by_id<'life0, 'async_trait>(
&'life0 self,
id: i64,
) -> Pin<Box<dyn Future<Output = Result<Option<Proxy>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}Expand description
Repository trait defining operations for proxy data access. Provides methods to retrieve proxy information.
Required Methods§
Implementors§
impl ProxyRepository for Database
impl ProxyRepository for MockProxyRepository
Repository trait defining operations for proxy data access. Provides methods to retrieve proxy information.