Enum libreda_lefdef::import::LefDefImportError
source · pub enum LefDefImportError {
ComponentModelNotFound {
component_name: String,
model_name: String,
},
ComponentNotFound(String),
ViaNotFound(String),
LayerNotFound(String),
CellNameAlreadyExists(String),
Other(String),
}Expand description
Error type returned from LEF/DEF input and output functions.
Variants§
ComponentModelNotFound
The model (aka template or cell type) of a component instance was not found.
Fields
ComponentNotFound(String)
A component was referenced by name but not found.
ViaNotFound(String)
A via is referenced by name but cannot be found.
LayerNotFound(String)
The layer could not be found in the target design and the creation of new layers is disabled.
CellNameAlreadyExists(String)
Cell of this name is already present in the layout and now being redefined in during the import.
Other(String)
Unspecified error.
Trait Implementations§
source§impl Clone for LefDefImportError
impl Clone for LefDefImportError
source§fn clone(&self) -> LefDefImportError
fn clone(&self) -> LefDefImportError
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 LefDefImportError
impl Debug for LefDefImportError
Auto Trait Implementations§
impl Freeze for LefDefImportError
impl RefUnwindSafe for LefDefImportError
impl Send for LefDefImportError
impl Sync for LefDefImportError
impl Unpin for LefDefImportError
impl UnwindSafe for LefDefImportError
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<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more