Skip to main content

Module frontend

Module frontend 

Source
Expand description

Safe wrapper around cpdb_frontend_obj_t.

A Frontend is the central object for printer discovery. It manages a D-Bus connection, holds the backend list, and owns the hash table of discovered printers.

§Threading

Frontend is Send but not Sync. Most methods take &self for ergonomics but mutate the underlying C state, and cpdb-libs does not lock internally. If you need concurrent access, wrap the frontend in a std::sync::Mutex.

Structs§

Frontend
Safe wrapper around cpdb_frontend_obj_t.