Enum bevy::ecs::schedule::ScheduleBuildError
source · #[non_exhaustive]pub enum ScheduleBuildError {
HierarchyLoop(String),
HierarchyCycle(String),
HierarchyRedundancy(String),
DependencyLoop(String),
DependencyCycle(String),
CrossDependency(String, String),
SetsHaveOrderButIntersect(String, String),
SystemTypeSetAmbiguity(String),
Ambiguity(String),
Uninitialized,
}
Expand description
Category of errors encountered during schedule construction.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
HierarchyLoop(String)
A system set contains itself.
HierarchyCycle(String)
The hierarchy of system sets contains a cycle.
HierarchyRedundancy(String)
The hierarchy of system sets contains redundant edges.
This error is disabled by default, but can be opted-in using ScheduleBuildSettings
.
DependencyLoop(String)
A system (set) has been told to run before itself.
DependencyCycle(String)
The dependency graph contains a cycle.
CrossDependency(String, String)
Tried to order a system (set) relative to a system set it belongs to.
SetsHaveOrderButIntersect(String, String)
Tried to order system sets that share systems.
SystemTypeSetAmbiguity(String)
Tried to order a system (set) relative to all instances of some system function.
Ambiguity(String)
Systems with conflicting access have indeterminate run order.
This error is disabled by default, but can be opted-in using ScheduleBuildSettings
.
Uninitialized
Tried to run a schedule before all of its systems have been initialized.
Trait Implementations§
source§impl Debug for ScheduleBuildError
impl Debug for ScheduleBuildError
source§impl Display for ScheduleBuildError
impl Display for ScheduleBuildError
source§impl Error for ScheduleBuildError
impl Error for ScheduleBuildError
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
Auto Trait Implementations§
impl RefUnwindSafe for ScheduleBuildError
impl Send for ScheduleBuildError
impl Sync for ScheduleBuildError
impl Unpin for ScheduleBuildError
impl UnwindSafe for ScheduleBuildError
Blanket Implementations§
source§impl<T, U> AsBindGroupShaderType<U> for T
impl<T, U> AsBindGroupShaderType<U> for T
source§fn as_bind_group_shader_type(&self, _images: &RenderAssets<Image>) -> U
fn as_bind_group_shader_type(&self, _images: &RenderAssets<Image>) -> U
T
ShaderType
for self
. When used in AsBindGroup
derives, it is safe to assume that all images in self
exist.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
source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
.source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
.source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s.source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s.