pub type DevicePairAddPortResult = Result<(), i32>;
enum DevicePairAddPortResult { Ok(()), Err(i32), }
Contains the success value
Contains the error value