Crate safebrowsing_db

Source
Expand description

Database interface and implementations for Google Safe Browsing API

This crate provides the database abstraction layer for the Safe Browsing API. It defines a common Database trait and provides implementations for in-memory storage and persistent disk storage.

Structs§

ConcurrentDatabase
Thread-safe wrapper around an in-memory database
DatabaseStats
Database statistics
InMemoryDatabase
In-memory database implementation

Enums§

DatabaseError
Error types for database operations

Constants§

DEFAULT_MAX_DATABASE_AGE
Default maximum database age before it’s considered stale

Traits§

Database
Database interface for Safe Browsing