#[repr(i32)]pub enum OsMgmtErrCode {
OS_MGMT_ERR_OK = 0,
OS_MGMT_ERR_UNKNOWN = 1,
OS_MGMT_ERR_INVALID_FORMAT = 2,
OS_MGMT_ERR_QUERY_YIELDS_NO_ANSWER = 3,
OS_MGMT_ERR_RTC_NOT_SET = 4,
OS_MGMT_ERR_RTC_COMMAND_FAILED = 5,
OS_MGMT_ERR_QUERY_RESPONSE_VALUE_NOT_VALID = 6,
}Expand description
See enum os_mgmt_err_code_t.
Variants§
OS_MGMT_ERR_OK = 0
No error, this is implied if there is no ret value in the response
OS_MGMT_ERR_UNKNOWN = 1
Unknown error occurred.
OS_MGMT_ERR_INVALID_FORMAT = 2
The provided format value is not valid.
OS_MGMT_ERR_QUERY_YIELDS_NO_ANSWER = 3
Query was not recognized.
OS_MGMT_ERR_RTC_NOT_SET = 4
RTC is not set
OS_MGMT_ERR_RTC_COMMAND_FAILED = 5
RTC command failed
OS_MGMT_ERR_QUERY_RESPONSE_VALUE_NOT_VALID = 6
Query was recognized but there is no valid value for the response.
Implementations§
Source§impl OsMgmtErrCode
impl OsMgmtErrCode
Trait Implementations§
Source§impl Clone for OsMgmtErrCode
impl Clone for OsMgmtErrCode
Source§fn clone(&self) -> OsMgmtErrCode
fn clone(&self) -> OsMgmtErrCode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OsMgmtErrCode
impl Debug for OsMgmtErrCode
Source§impl Display for OsMgmtErrCode
impl Display for OsMgmtErrCode
Source§impl PartialEq for OsMgmtErrCode
impl PartialEq for OsMgmtErrCode
impl Copy for OsMgmtErrCode
impl Eq for OsMgmtErrCode
impl StructuralPartialEq for OsMgmtErrCode
Auto Trait Implementations§
impl Freeze for OsMgmtErrCode
impl RefUnwindSafe for OsMgmtErrCode
impl Send for OsMgmtErrCode
impl Sync for OsMgmtErrCode
impl Unpin for OsMgmtErrCode
impl UnwindSafe for OsMgmtErrCode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more