Success

Constant Success 

Source
pub const Success: i32 = 0;
Expand description

No error happened (used to signal successful operation). Keep in mind that many API functions returning error codes can also return positive values, which also indicate success. API users can hardcode the fact that “>= 0” means success.