Enum uci::EngineError
source · pub enum EngineError {
Io(Error),
UnknownOption(String),
}
Expand description
The error type for any errors encountered with the engine.
Variants§
Io(Error)
Wrapper around any io errors encountered while trying to communicate with the engine.
UnknownOption(String)
Engine doesn’t recognize the specified option.
Trait Implementations§
source§impl Debug for EngineError
impl Debug for EngineError
source§impl Display for EngineError
impl Display for EngineError
source§impl From<Error> for EngineError
impl From<Error> for EngineError
source§fn from(err: Error) -> EngineError
fn from(err: Error) -> EngineError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for EngineError
impl !RefUnwindSafe for EngineError
impl Send for EngineError
impl Sync for EngineError
impl Unpin for EngineError
impl !UnwindSafe for EngineError
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