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