Enum bitsy_lang::BitsyError
source · pub enum BitsyError {
ExtHasNonPort(Span, Name),
DuplicateComponent(Arc<Component>),
MultipleDrivers(Span, Name),
NoDrivers(Arc<Component>),
NoDriversPort(Arc<Component>, Arc<Component>),
WrongWireType(Span, Name, WireType),
IncomingPortDriven(Span, Name),
NoSuchComponent(Span, String),
TypeError(TypeError),
ParseError(Span, String),
Unknown(Option<Span>, String),
}
Variants§
ExtHasNonPort(Span, Name)
DuplicateComponent(Arc<Component>)
MultipleDrivers(Span, Name)
NoDrivers(Arc<Component>)
NoDriversPort(Arc<Component>, Arc<Component>)
WrongWireType(Span, Name, WireType)
IncomingPortDriven(Span, Name)
NoSuchComponent(Span, String)
TypeError(TypeError)
ParseError(Span, String)
Unknown(Option<Span>, String)
Trait Implementations§
source§impl Clone for BitsyError
impl Clone for BitsyError
source§fn clone(&self) -> BitsyError
fn clone(&self) -> BitsyError
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 BitsyError
impl Debug for BitsyError
source§impl Display for BitsyError
impl Display for BitsyError
Auto Trait Implementations§
impl RefUnwindSafe for BitsyError
impl Send for BitsyError
impl Sync for BitsyError
impl Unpin for BitsyError
impl UnwindSafe for BitsyError
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