pub enum PlacementError {
ReachedMaxIterations,
Divergence,
Other(String),
}Expand description
Error type used for global placement.
Variants§
ReachedMaxIterations
Stopped placement algorithm because the maximal number of iterations was reached.
Divergence
The solution diverges. This is likely a bug in the placement algorithm.
Other(String)
Other type of error. Defined by an error message string.
Trait Implementations§
source§impl Debug for PlacementError
impl Debug for PlacementError
source§impl Display for PlacementError
impl Display for PlacementError
source§impl Error for PlacementError
impl Error for PlacementError
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()