pub enum TRONError {
Show 13 variants
DNAGenerationFailed(String),
NeuralConnectionFailed(String),
NeuralTransmissionFailed(String),
SynapseNotFound(String),
EvolutionFailed(String),
ReproductionNotReady(String),
ReproductionFailed(String),
GeneticIncompatibility,
TooManySynapses,
SigningFailed(String),
BehaviorExecutionFailed(String),
MemoryOperationFailed(String),
SocialInteractionFailed(String),
}Expand description
TRON-related errors
Variantsยง
DNAGenerationFailed(String)
NeuralConnectionFailed(String)
NeuralTransmissionFailed(String)
SynapseNotFound(String)
EvolutionFailed(String)
ReproductionNotReady(String)
ReproductionFailed(String)
GeneticIncompatibility
TooManySynapses
SigningFailed(String)
BehaviorExecutionFailed(String)
MemoryOperationFailed(String)
SocialInteractionFailed(String)
Trait Implementationsยง
Sourceยงimpl Error for TRONError
impl Error for TRONError
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()
Auto Trait Implementationsยง
impl Freeze for TRONError
impl RefUnwindSafe for TRONError
impl Send for TRONError
impl Sync for TRONError
impl Unpin for TRONError
impl UnwindSafe for TRONError
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