#[non_exhaustive]pub enum ArtifactLoadError {
Atlas {
source: ArtifactDataError,
},
Benchmark {
source: ArtifactDataError,
},
Polygon {
source: ArtifactDataError,
},
Navmesh {
source: ArtifactDataError,
},
FlowField {
source: ArtifactDataError,
},
Mapf {
source: ArtifactDataError,
},
Replanning {
source: ArtifactDataError,
},
AnyAngle {
source: ArtifactDataError,
},
}Expand description
Public loading boundary: identifies the artifact family and preserves its source.
Variants name the loader surface (atlas maps, benchmark packs, story/fixture
packs for polygon/navmesh/MAPF/replanning/any-angle, …). The nested
ArtifactDataError holds parse, I/O, materialization, or contract detail.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Atlas
Moving AI .map/.scen atlas loader surface failed.
Fields
source: ArtifactDataErrorNested data/contract failure for this load.
Benchmark
Grid benchmark scenario pack loader surface failed.
Fields
source: ArtifactDataErrorNested data/contract failure for this load.
Polygon
Continuous polygon scene pack loader surface failed.
Fields
source: ArtifactDataErrorNested data/contract failure for this load.
Navmesh pack loader surface failed.
FlowField
Flow-field story/fixture pack loader surface failed.
Fields
source: ArtifactDataErrorNested data/contract failure for this load.
Mapf
Multi-agent pathfinding pack loader surface failed.
Fields
source: ArtifactDataErrorNested data/contract failure for this load.
Replanning
Incremental replanning pack loader surface failed.
Fields
source: ArtifactDataErrorNested data/contract failure for this load.
AnyAngle
Any-angle benchmark pack loader surface failed.
Fields
source: ArtifactDataErrorNested data/contract failure for this load.
Trait Implementations§
Source§impl Debug for ArtifactLoadError
impl Debug for ArtifactLoadError
Source§impl Display for ArtifactLoadError
impl Display for ArtifactLoadError
Source§impl Error for ArtifactLoadError
impl Error for ArtifactLoadError
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()
Auto Trait Implementations§
impl !RefUnwindSafe for ArtifactLoadError
impl !UnwindSafe for ArtifactLoadError
impl Freeze for ArtifactLoadError
impl Send for ArtifactLoadError
impl Sync for ArtifactLoadError
impl Unpin for ArtifactLoadError
impl UnsafeUnpin for ArtifactLoadError
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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> ⓘ
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> ⓘ
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