pub struct UnsupportedStepType(pub StepType);Expand description
Error raised when converting a parsed Gherkin StepType into a
StepKeyword fails.
Captures the offending StepType to help callers diagnose missing
language support.
Tuple Fields§
§0: StepTypeTrait Implementations§
Source§impl Clone for UnsupportedStepType
impl Clone for UnsupportedStepType
Source§fn clone(&self) -> UnsupportedStepType
fn clone(&self) -> UnsupportedStepType
Returns a duplicate 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 UnsupportedStepType
impl Debug for UnsupportedStepType
Source§impl Display for UnsupportedStepType
impl Display for UnsupportedStepType
Source§impl Error for UnsupportedStepType
impl Error for UnsupportedStepType
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 UnsupportedStepType
impl PartialEq for UnsupportedStepType
impl Copy for UnsupportedStepType
impl Eq for UnsupportedStepType
impl StructuralPartialEq for UnsupportedStepType
Auto Trait Implementations§
impl Freeze for UnsupportedStepType
impl RefUnwindSafe for UnsupportedStepType
impl Send for UnsupportedStepType
impl Sync for UnsupportedStepType
impl Unpin for UnsupportedStepType
impl UnwindSafe for UnsupportedStepType
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