Trait bevy_mod_sysfail::Failure
source · pub trait Failure {
type Error: FailureMode;
fn failure(self) -> Option<Self::Error>;
}
Expand description
Something that can be returned by a function marked with #[sysfail(log)]
.
Required Associated Types§
sourcetype Error: FailureMode
type Error: FailureMode
The actual error’s type in this failure.