Skip to main content

pamoja_ladder_connect

Function pamoja_ladder_connect 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pamoja_ladder_connect( ladder: *mut PamojaLadder, ) -> PamojaStatus
Expand description

Connects every rung, so a send can be tried against each in turn.

A rung that will not connect is left in the ladder: it may come back, and a send simply falls through it until it does.

§Arguments

  • ladder - the ladder.

§Returns

PamojaStatus::Ok once the rungs have been tried.

§Safety

ladder must be a live handle from pamoja_ladder_new.