pub enum UciParseError {
UnrecognizedCommand {
cmd: String,
},
InvalidArgument {
cmd: String,
arg: String,
},
InsufficientArguments {
cmd: String,
},
}
Expand description
Errors that can occur when parsing a UCI command.
Variants§
UnrecognizedCommand
The provided command could not be parsed and is likely not a UCI command.
InvalidArgument
The provided command is UCI, but was given invalid arguments.
InsufficientArguments
The provided command is UCI, but was not given enough arguments
Trait Implementations§
Source§impl Debug for UciParseError
impl Debug for UciParseError
Source§impl Display for UciParseError
impl Display for UciParseError
Source§impl Error for UciParseError
impl Error for UciParseError
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()
Source§impl PartialEq for UciParseError
impl PartialEq for UciParseError
impl Eq for UciParseError
impl StructuralPartialEq for UciParseError
Auto Trait Implementations§
impl Freeze for UciParseError
impl RefUnwindSafe for UciParseError
impl Send for UciParseError
impl Sync for UciParseError
impl Unpin for UciParseError
impl UnwindSafe for UciParseError
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