pub enum TriVecError {
PlaneTooSmall {
len: usize,
need: usize,
actual: usize,
},
IndexOutOfRange {
index: usize,
len: usize,
},
WordOutOfRange {
word: usize,
words: usize,
},
}Expand description
TriVec 构造/访问错误。
Variants§
Trait Implementations§
Source§impl Clone for TriVecError
impl Clone for TriVecError
Source§impl Debug for TriVecError
impl Debug for TriVecError
Source§impl Display for TriVecError
impl Display for TriVecError
impl Eq for TriVecError
Source§impl Error for TriVecError
impl Error for TriVecError
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 TriVecError
impl PartialEq for TriVecError
impl StructuralPartialEq for TriVecError
Auto Trait Implementations§
impl Freeze for TriVecError
impl RefUnwindSafe for TriVecError
impl Send for TriVecError
impl Sync for TriVecError
impl Unpin for TriVecError
impl UnsafeUnpin for TriVecError
impl UnwindSafe for TriVecError
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