#[repr(i32)]pub enum MndResult {
Success = 0,
ErrorInvalidVersion = -1,
ErrorInvalidValue = -2,
ErrorConnectingFailed = -3,
ErrorOperationFailed = -4,
ErrorRecenteringNotSupported = -5,
ErrorInvalidProperty = -6,
ErrorInvalidOperation = -7,
}Expand description
Result codes for operations, negative are errors, zero or positives are success.
Variants§
Success = 0
ErrorInvalidVersion = -1
ErrorInvalidValue = -2
ErrorConnectingFailed = -3
ErrorOperationFailed = -4
ErrorRecenteringNotSupported = -5
ErrorInvalidProperty = -6
ErrorInvalidOperation = -7
Implementations§
Trait Implementations§
Source§impl Error for MndResult
impl Error for MndResult
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
Source§fn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
impl Copy for MndResult
impl Eq for MndResult
impl StructuralPartialEq for MndResult
Auto Trait Implementations§
impl Freeze for MndResult
impl RefUnwindSafe for MndResult
impl Send for MndResult
impl Sync for MndResult
impl Unpin for MndResult
impl UnwindSafe for MndResult
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