#[repr(i32)]pub enum ShellMgmtErrCode {
SHELL_MGMT_ERR_OK = 0,
SHELL_MGMT_ERR_UNKNOWN = 1,
SHELL_MGMT_ERR_COMMAND_TOO_LONG = 2,
SHELL_MGMT_ERR_EMPTY_COMMAND = 3,
}Expand description
See enum shell_mgmt_err_code_t.
Variants§
SHELL_MGMT_ERR_OK = 0
No error, this is implied if there is no ret value in the response
SHELL_MGMT_ERR_UNKNOWN = 1
Unknown error occurred.
SHELL_MGMT_ERR_COMMAND_TOO_LONG = 2
The provided command to execute is too long.
SHELL_MGMT_ERR_EMPTY_COMMAND = 3
No command to execute was provided.
Implementations§
Trait Implementations§
Source§impl Clone for ShellMgmtErrCode
impl Clone for ShellMgmtErrCode
Source§fn clone(&self) -> ShellMgmtErrCode
fn clone(&self) -> ShellMgmtErrCode
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 ShellMgmtErrCode
impl Debug for ShellMgmtErrCode
Source§impl Display for ShellMgmtErrCode
impl Display for ShellMgmtErrCode
Source§impl PartialEq for ShellMgmtErrCode
impl PartialEq for ShellMgmtErrCode
impl Copy for ShellMgmtErrCode
impl Eq for ShellMgmtErrCode
impl StructuralPartialEq for ShellMgmtErrCode
Auto Trait Implementations§
impl Freeze for ShellMgmtErrCode
impl RefUnwindSafe for ShellMgmtErrCode
impl Send for ShellMgmtErrCode
impl Sync for ShellMgmtErrCode
impl Unpin for ShellMgmtErrCode
impl UnwindSafe for ShellMgmtErrCode
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