pub enum WalkabilityError {
Show 20 variants
InvalidMinimumWidth,
InvalidRegionId,
SelfPassage,
InexactPassage,
IncompleteEvidence,
DuplicateRegion,
UnknownRegion,
DuplicatePassage,
UnexpectedMappedObject,
ForbiddenPortalPassage,
ObjectUnavailable,
ResponseRequestMismatch,
ConflictingConnector,
PortalConnectorPassage,
ForbiddenConnectorPassage,
InvalidStatedClearWidth,
ConflictingSweptDoors,
InvalidTolerance,
InvalidStretch,
Unavailable(String),
}Variants§
InvalidMinimumWidth
InvalidRegionId
SelfPassage
InexactPassage
IncompleteEvidence
DuplicateRegion
UnknownRegion
DuplicatePassage
UnexpectedMappedObject
ForbiddenPortalPassage
ResponseRequestMismatch
ConflictingConnector
PortalConnectorPassage
ForbiddenConnectorPassage
InvalidStatedClearWidth
A stated clear width is not finite and positive, names an object that is not a requested entrance, or is stated twice.
ConflictingSweptDoors
One door is given twice with different swept sectors.
InvalidTolerance
An obstruction depth or surface gap is not finite and non-negative.
InvalidStretch
A stretch lies on a portal or connector passage, is not narrower than the request’s width, or names an object the request does not.
The backend refused: evidence it would need is missing, approximate or outside what it can measure. Never a negative verdict.
Trait Implementations§
Source§impl Clone for WalkabilityError
impl Clone for WalkabilityError
Source§impl Debug for WalkabilityError
impl Debug for WalkabilityError
Source§impl Display for WalkabilityError
impl Display for WalkabilityError
Source§impl Error for WalkabilityError
impl Error for WalkabilityError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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()
Source§impl PartialEq for WalkabilityError
impl PartialEq for WalkabilityError
impl StructuralPartialEq for WalkabilityError
Auto Trait Implementations§
impl Freeze for WalkabilityError
impl RefUnwindSafe for WalkabilityError
impl Send for WalkabilityError
impl Sync for WalkabilityError
impl Unpin for WalkabilityError
impl UnsafeUnpin for WalkabilityError
impl UnwindSafe for WalkabilityError
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