Skip to main content

record_roster

Function record_roster 

Source
pub async fn record_roster<'a>(
    db: &Db,
    plugin_ids: impl IntoIterator<Item = &'a str>,
) -> Result<()>
Expand description

Records the compiled plugins, inserting an enabled row for any not seen before and leaving existing rows (and their operator state) untouched. Called at boot so the table is the full plugin roster the admin screen lists.