pub enum DoorLeavesError {
UncoveredSource(SourceId),
UnknownObject(ObjectId),
NotADoor(ObjectId),
NotStated(String),
Refused(String),
Unreadable(String),
Unsupported,
InvalidLeaves(String),
InexactEvidence,
ResponseRequestMismatch,
}Expand description
Failure to supply a door’s leaves.
Variants§
UncoveredSource(SourceId)
The service does not cover the door’s source.
UnknownObject(ObjectId)
The object is not part of the source.
NotADoor(ObjectId)
The object is neither a door nor a window, so it has no leaves.
NotStated(String)
The source does not state what the leaves need: an operation type, an overall width or panel definitions. Nothing is defaulted.
Refused(String)
The source states the door’s operation, but not precisely enough to place its leaves (a folding or revolving door, an operation whose direction the source’s specification leaves open, contradictory panels).
Unreadable(String)
The door, its placement or a unit cannot be read exactly.
Unsupported
The service supplies no door leaves.
InvalidLeaves(String)
The leaves are malformed: not orthonormal, a sector not matching its leaf, or a hinge side without a swing.
InexactEvidence
The evidence is not exact, not reviewable, or from another source.
ResponseRequestMismatch
The service answered for another door.
Trait Implementations§
Source§impl Clone for DoorLeavesError
impl Clone for DoorLeavesError
Source§impl Debug for DoorLeavesError
impl Debug for DoorLeavesError
Source§impl Display for DoorLeavesError
impl Display for DoorLeavesError
impl Eq for DoorLeavesError
Source§impl Error for DoorLeavesError
impl Error for DoorLeavesError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()