pub enum MctsEngineError {
UnknownError,
InvalidMctsNode,
ChildAlreadyExists,
InvalidAction,
SelectionIsTerminal,
}Expand description
Errors that can occur during the execution of the MCTS engine.
Variants§
Trait Implementations§
Source§impl Clone for MctsEngineError
impl Clone for MctsEngineError
Source§fn clone(&self) -> MctsEngineError
fn clone(&self) -> MctsEngineError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MctsEngineError
Source§impl Debug for MctsEngineError
impl Debug for MctsEngineError
Source§impl PartialEq for MctsEngineError
impl PartialEq for MctsEngineError
Source§fn eq(&self, other: &MctsEngineError) -> bool
fn eq(&self, other: &MctsEngineError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MctsEngineError
Auto Trait Implementations§
impl Freeze for MctsEngineError
impl RefUnwindSafe for MctsEngineError
impl Send for MctsEngineError
impl Sync for MctsEngineError
impl Unpin for MctsEngineError
impl UnsafeUnpin for MctsEngineError
impl UnwindSafe for MctsEngineError
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