udmf_sys/udmf_err_code/
udmf_err_code_ffi.rs

1// automatically generated by rust-bindgen 0.71.1
2
3#![allow(non_upper_case_globals)]
4#![allow(non_camel_case_types)]
5#![allow(non_snake_case)]
6
7#[cfg(feature = "api-12")]
8#[cfg_attr(docsrs, doc(cfg(feature = "api-12")))]
9impl Udmf_ErrCode {
10    /// The error code in the correct case.
11    pub const E_OK: Udmf_ErrCode = Udmf_ErrCode(0);
12    /// The error code for common exceptions.
13    pub const ERR: Udmf_ErrCode = Udmf_ErrCode(20400000);
14    /// The error code for common invalid args.
15    pub const E_INVALID_PARAM: Udmf_ErrCode = Udmf_ErrCode(20400001);
16}
17#[repr(transparent)]
18/// Indicates the error code information.
19///
20///
21/// Available since API-level: 12
22#[cfg(feature = "api-12")]
23#[cfg_attr(docsrs, doc(cfg(feature = "api-12")))]
24#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
25pub struct Udmf_ErrCode(pub ::core::ffi::c_uint);