Skip to main content

adopt_granted

Function adopt_granted 

Source
pub(crate) fn adopt_granted(
    current: &RwLock<Vec<String>>,
    fetched: Option<Vec<String>>,
) -> bool
Expand description

Keeps current as srv last said (fetched; None, srv said nothing, changes nothing) and says whether the services differ now, which is when the client must be told.