pub enum UCI {
UciOk,
ReadyOk,
Info {
cp: Option<isize>,
mate: Option<isize>,
depth: Option<isize>,
seldepth: Option<isize>,
nodes: Option<isize>,
time: Option<isize>,
multipv: Option<isize>,
pv: Option<Vec<String>>,
},
Option {
name: String,
opt_type: OptionType,
},
}
Expand description
Supported UCI commands
Variants§
UciOk
Sent after the ‘uci’ command
ReadyOk
Sent after the ‘isready’ command
Info
Engine sending info to GUI
Fields
Option
Options can be set to modify the engine behaviour
Trait Implementations§
Auto Trait Implementations§
impl Freeze for UCI
impl RefUnwindSafe for UCI
impl Send for UCI
impl Sync for UCI
impl Unpin for UCI
impl UnwindSafe for UCI
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