pub unsafe extern "C" fn otThreadSetLocalLeaderWeight(
    aInstance: *mut otInstance,
    aWeight: u8
)
Expand description

Sets the Thread Leader Weight used when operating in the Leader role.

Directly sets the Leader Weight to the new value, replacing its previous value (which may have been determined from the current otDeviceProperties).

@param[in] aInstance A pointer to an OpenThread instance. @param[in] aWeight The Thread Leader Weight value.

@sa otThreadGetLeaderWeight