pub fn negotiate(
required: &ControlSet,
peer_available: &ControlSet,
local_available: &ControlSet,
cost_preference: CostPreference,
extra_protection: bool,
ledger: &mut ReservationLedger,
) -> Result<SelectedProfile, QdnfError>Expand description
Negotiates a profile.