pub enum GCodeParseError {
InvalidGCode(String),
InvalidArguments(String),
InvalidComment(String),
}Variants§
Trait Implementations§
Source§impl Debug for GCodeParseError
impl Debug for GCodeParseError
Source§impl Display for GCodeParseError
impl Display for GCodeParseError
Source§impl Error for GCodeParseError
impl Error for GCodeParseError
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()
Auto Trait Implementations§
impl Freeze for GCodeParseError
impl RefUnwindSafe for GCodeParseError
impl Send for GCodeParseError
impl Sync for GCodeParseError
impl Unpin for GCodeParseError
impl UnsafeUnpin for GCodeParseError
impl UnwindSafe for GCodeParseError
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