pub enum EngineMessage {
Id(Id),
UciOk,
ReadyOk,
BestMove(BestMove),
CopyProtection(CopyProtection),
Registration(Registration),
Info(Box<Info>),
Option(Option),
}Expand description
A message sent from the engine to the GUI.
Variants§
Id(Id)
UciOk
ReadyOk
BestMove(BestMove)
CopyProtection(CopyProtection)
Registration(Registration)
Info(Box<Info>)
Option(Option)
Trait Implementations§
Source§impl Clone for EngineMessage
impl Clone for EngineMessage
Source§fn clone(&self) -> EngineMessage
fn clone(&self) -> EngineMessage
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EngineMessage
impl Debug for EngineMessage
Source§impl Display for EngineMessage
impl Display for EngineMessage
Source§impl FromStr for EngineMessage
impl FromStr for EngineMessage
Source§impl Message for EngineMessage
impl Message for EngineMessage
Source§impl PartialEq for EngineMessage
impl PartialEq for EngineMessage
Source§impl TryFrom<RawEngineMessage> for EngineMessage
impl TryFrom<RawEngineMessage> for EngineMessage
Source§type Error = MessageTryFromRawMessageError<EngineMessageParameterPointer>
type Error = MessageTryFromRawMessageError<EngineMessageParameterPointer>
The type returned in the event of a conversion error.
impl Eq for EngineMessage
impl StructuralPartialEq for EngineMessage
Auto Trait Implementations§
impl Freeze for EngineMessage
impl RefUnwindSafe for EngineMessage
impl Send for EngineMessage
impl Sync for EngineMessage
impl Unpin for EngineMessage
impl UnwindSafe for EngineMessage
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