pub enum SkillRetError {
BothPresent,
NeitherPresent,
}Expand description
GetSkillRet 的 body / blob_handle 互斥不变式被破坏 / exclusivity invariant violated。
Variants§
BothPresent
body 与 blob_handle 同时存在(违反 exactly-one)/ both present。
NeitherPresent
body 与 blob_handle 均缺失(违反 exactly-one)/ neither present。
Trait Implementations§
Source§impl Clone for SkillRetError
impl Clone for SkillRetError
Source§fn clone(&self) -> SkillRetError
fn clone(&self) -> SkillRetError
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 moreimpl Copy for SkillRetError
Source§impl Debug for SkillRetError
impl Debug for SkillRetError
Source§impl Display for SkillRetError
impl Display for SkillRetError
impl Eq for SkillRetError
Source§impl Error for SkillRetError
impl Error for SkillRetError
1.30.0 · 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
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for SkillRetError
impl PartialEq for SkillRetError
Source§fn eq(&self, other: &SkillRetError) -> bool
fn eq(&self, other: &SkillRetError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SkillRetError
Auto Trait Implementations§
impl Freeze for SkillRetError
impl RefUnwindSafe for SkillRetError
impl Send for SkillRetError
impl Sync for SkillRetError
impl Unpin for SkillRetError
impl UnsafeUnpin for SkillRetError
impl UnwindSafe for SkillRetError
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