pub type ZL_Error = ZL_Error_s;Expand description
ZL_Error:
The ZL_Error represents an optional failure. (If _code is ZL_ErrorCode_no_error, the object represents a success condition.) Depending on how it was constructed, the error may be “bare” (_info == NULL) or “rich”, in which case it has an _info struct that can contain additional context and information about the error.
The ZL_Error is usually returned-by-value, and therefore the definition needs to be publicly available. However, users should not directly interact with the members of the struct, and should instead use the various accessors and methods made available in the public API.
Aliased Type§
#[repr(C)]pub struct ZL_Error {
pub _code: u32,
pub _info: ZL_ErrorInfo_u,
}Fields§
§_code: u32§_info: ZL_ErrorInfo_u