#[repr(i32)]pub enum StatMgmtErrCode {
STAT_MGMT_ERR_OK = 0,
STAT_MGMT_ERR_UNKNOWN = 1,
STAT_MGMT_ERR_INVALID_GROUP = 2,
STAT_MGMT_ERR_INVALID_STAT_NAME = 3,
STAT_MGMT_ERR_INVALID_STAT_SIZE = 4,
STAT_MGMT_ERR_WALK_ABORTED = 5,
}Expand description
See enum stat_mgmt_err_code_t.
Variants§
STAT_MGMT_ERR_OK = 0
No error, this is implied if there is no ret value in the response
STAT_MGMT_ERR_UNKNOWN = 1
Unknown error occurred.
STAT_MGMT_ERR_INVALID_GROUP = 2
The provided statistic group name was not found.
STAT_MGMT_ERR_INVALID_STAT_NAME = 3
The provided statistic name was not found.
STAT_MGMT_ERR_INVALID_STAT_SIZE = 4
The size of the statistic cannot be handled.
STAT_MGMT_ERR_WALK_ABORTED = 5
Walk through of statistics was aborted.
Implementations§
Trait Implementations§
Source§impl Clone for StatMgmtErrCode
impl Clone for StatMgmtErrCode
Source§fn clone(&self) -> StatMgmtErrCode
fn clone(&self) -> StatMgmtErrCode
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 StatMgmtErrCode
impl Debug for StatMgmtErrCode
Source§impl Display for StatMgmtErrCode
impl Display for StatMgmtErrCode
Source§impl PartialEq for StatMgmtErrCode
impl PartialEq for StatMgmtErrCode
impl Copy for StatMgmtErrCode
impl Eq for StatMgmtErrCode
impl StructuralPartialEq for StatMgmtErrCode
Auto Trait Implementations§
impl Freeze for StatMgmtErrCode
impl RefUnwindSafe for StatMgmtErrCode
impl Send for StatMgmtErrCode
impl Sync for StatMgmtErrCode
impl Unpin for StatMgmtErrCode
impl UnwindSafe for StatMgmtErrCode
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