Skip to main content

pamoja_link_cost_threshold

Function pamoja_link_cost_threshold 

Source
#[unsafe(no_mangle)]
pub extern "C" fn pamoja_link_cost_threshold( cost: PamojaLinkCost, ) -> PamojaTelemetryLevel
Expand description

Returns the level a link cost calls for.

§Arguments

  • cost - what the link currently costs.

§Returns

The lowest level still worth its bytes at that cost.