Enum cassowary::AddConstraintError [] [src]

pub enum AddConstraintError {
    DuplicateConstraint,
    UnsatisfiableConstraint,
    InternalSolverError(&'static str),
}

The possible error conditions that Solver::add_constraint can fail with.

Variants

The constraint specified has already been added to the solver.

The constraint is required, but it is unsatisfiable in conjunction with the existing constraints.

The solver entered an invalid state. If this occurs please report the issue. This variant specifies additional details as a string.

Trait Implementations

impl Debug for AddConstraintError
[src]

Formats the value using the given formatter. Read more

impl Copy for AddConstraintError
[src]

impl Clone for AddConstraintError
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for AddConstraintError

impl Sync for AddConstraintError