pub enum LaneGroupError {
DuplicateAddress {
address: (u32, u32),
},
InvalidLane {
message: String,
},
Inconsistent {
message: String,
},
WordNotInSiteBusList {
word_id: u32,
},
SiteNotInWordBusList {
site_id: u32,
},
AODConstraintViolation {
message: String,
},
}Variants§
DuplicateAddress
A lane address appears more than once in the group.
InvalidLane
A lane address is invalid per the arch spec.
Inconsistent
Lanes have inconsistent bus_id, move_type, or direction.
WordNotInSiteBusList
Lane word_id not in words_with_site_buses.
SiteNotInWordBusList
Lane site_id not in sites_with_word_buses.
AODConstraintViolation
Lane group violates AOD grid constraint (e.g. not a complete grid).
Trait Implementations§
Source§impl Clone for LaneGroupError
impl Clone for LaneGroupError
Source§fn clone(&self) -> LaneGroupError
fn clone(&self) -> LaneGroupError
Returns a duplicate 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 LaneGroupError
impl Debug for LaneGroupError
Source§impl Display for LaneGroupError
impl Display for LaneGroupError
Source§impl Error for LaneGroupError
impl Error for LaneGroupError
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 LaneGroupError
impl PartialEq for LaneGroupError
impl Eq for LaneGroupError
impl StructuralPartialEq for LaneGroupError
Auto Trait Implementations§
impl Freeze for LaneGroupError
impl RefUnwindSafe for LaneGroupError
impl Send for LaneGroupError
impl Sync for LaneGroupError
impl Unpin for LaneGroupError
impl UnwindSafe for LaneGroupError
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