Enum bellframe::row::InvalidRowError
source · pub enum InvalidRowError {
NoBells,
DuplicateBell(Bell),
BellOutOfStage(Bell, Stage),
MissingBell(Bell),
}Expand description
All the possible ways that a Row could be invalid.
Variants§
Trait Implementations§
source§impl Clone for InvalidRowError
impl Clone for InvalidRowError
source§fn clone(&self) -> InvalidRowError
fn clone(&self) -> InvalidRowError
Returns a copy 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 InvalidRowError
impl Debug for InvalidRowError
source§impl Display for InvalidRowError
impl Display for InvalidRowError
source§impl Error for InvalidRowError
impl Error for InvalidRowError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 InvalidRowError
impl Hash for InvalidRowError
source§impl PartialEq<InvalidRowError> for InvalidRowError
impl PartialEq<InvalidRowError> for InvalidRowError
source§fn eq(&self, other: &InvalidRowError) -> bool
fn eq(&self, other: &InvalidRowError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for InvalidRowError
impl StructuralEq for InvalidRowError
impl StructuralPartialEq for InvalidRowError
Auto Trait Implementations§
impl RefUnwindSafe for InvalidRowError
impl Send for InvalidRowError
impl Sync for InvalidRowError
impl Unpin for InvalidRowError
impl UnwindSafe for InvalidRowError
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
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.