ohos-basic-services-kit-sys 0.1.0

Raw bindings to the BasicServicesKit NDK of OpenHarmony
Documentation
// automatically generated by rust-bindgen 0.71.1

#![allow(non_upper_case_globals)]
#![allow(non_camel_case_types)]
#![allow(non_snake_case)]

#[cfg(feature = "api-12")]
#[cfg_attr(docsrs, doc(cfg(feature = "api-12")))]
impl OsAccount_ErrCode {
    /// Operation is successful.
    pub const OS_ACCOUNT_ERR_OK: OsAccount_ErrCode = OsAccount_ErrCode(0);
    /// Internal error.
    pub const OS_ACCOUNT_ERR_INTERNAL_ERROR: OsAccount_ErrCode = OsAccount_ErrCode(12300001);
    /// Invalid parameter.
    pub const OS_ACCOUNT_ERR_INVALID_PARAMETER: OsAccount_ErrCode = OsAccount_ErrCode(12300002);
}
#[repr(transparent)]
/// Enumerates the error codes.
///
///
/// Available since API-level: 12
#[cfg(feature = "api-12")]
#[cfg_attr(docsrs, doc(cfg(feature = "api-12")))]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub struct OsAccount_ErrCode(pub ::core::ffi::c_uint);