#[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 (const: unstable) · 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
Source§fn eq(&self, other: &StatMgmtErrCode) -> bool
fn eq(&self, other: &StatMgmtErrCode) -> bool
Tests for
self and other values to be equal, and is used by ==.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 UnsafeUnpin 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more