Skip to main content

RosterChangedEvent

Type Alias RosterChangedEvent 

Source
pub type RosterChangedEvent = RosterChange;
Expand description

The event a roster subscriber receives — the applied change.

Aliased Type§

pub struct RosterChangedEvent {
    pub added: Vec<String>,
    pub removed: Vec<String>,
    pub quarantined: Vec<String>,
    pub failures: Vec<RefreshFailure>,
}

Fields§

§added: Vec<String>

Mems the roster gained and the engine mounted cold, ready to serve.

§removed: Vec<String>

Mems the roster lost and the engine unmounted: their entities, search index, community partition and derived views are gone.

§quarantined: Vec<String>

Mems the roster gained that failed to mount and are quarantined under the boot rules (each with its reason on the quarantine roster); the other mems keep serving.

§failures: Vec<RefreshFailure>

Per-item failures that were not a quarantine: the schema-source re-scan, or an unmount that could not complete (the roster change for that mem is not applied and it stays fully served).