Function ensure_subscribe_set_backend_success
pub fn ensure_subscribe_set_backend_success(
result: Option<i32>,
warning_code: Option<i32>,
max_sub_count: Option<i32>,
) -> Result<SubscribeSetBackendStatus, SubscribeSetBackendReject>Expand description
Interpret backend SubscribeSetRsp status fields without taking a
dependency on the generated proto type.
Missing result follows C++’s nSvrRet = -1 fallback. Missing
warning_code and max_sub_count preserve the existing Rust wire-facing
defaults, because C++ only uses result for success/failure in this path.