#[non_exhaustive]pub enum BindingsTableError {
Unsorted {
at: usize,
},
}Expand description
v0.2.2 T5 C4: errors returned by BindingsTable::try_new.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Unsorted
Entries at index at and at - 1 are out of order (the slice is
not strictly ascending by address).
Trait Implementations§
Source§impl Clone for BindingsTableError
impl Clone for BindingsTableError
Source§fn clone(&self) -> BindingsTableError
fn clone(&self) -> BindingsTableError
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 BindingsTableError
impl Debug for BindingsTableError
Source§impl Display for BindingsTableError
impl Display for BindingsTableError
Source§impl Error for BindingsTableError
impl Error for BindingsTableError
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 Hash for BindingsTableError
impl Hash for BindingsTableError
Source§impl PartialEq for BindingsTableError
impl PartialEq for BindingsTableError
Source§fn eq(&self, other: &BindingsTableError) -> bool
fn eq(&self, other: &BindingsTableError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for BindingsTableError
impl Eq for BindingsTableError
impl StructuralPartialEq for BindingsTableError
Auto Trait Implementations§
impl Freeze for BindingsTableError
impl RefUnwindSafe for BindingsTableError
impl Send for BindingsTableError
impl Sync for BindingsTableError
impl Unpin for BindingsTableError
impl UnsafeUnpin for BindingsTableError
impl UnwindSafe for BindingsTableError
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