Skip to main content

negotiate_outcome

Function negotiate_outcome 

Source
pub fn negotiate_outcome(
    required: &ControlSet,
    peer_available: &ControlSet,
    local_available: &ControlSet,
    cost_preference: CostPreference,
    extra_protection: bool,
    ledger: &mut ReservationLedger,
) -> Result<NegotiateOutcome, QdnfError>
Expand description

Maps profile-incompatibility to NegotiateOutcome::Unavailable. Budget and other failures stay typed on negotiate.