pub enum ParamError {
Missing(String),
ParseError {
param: String,
value: String,
error: String,
},
}
Expand description
Errors that can occur during parameter extraction and parsing
Variants§
Trait Implementations§
Source§impl Debug for ParamError
impl Debug for ParamError
Source§impl Display for ParamError
impl Display for ParamError
Source§impl Error for ParamError
impl Error for ParamError
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 From<ParamError> for PipelineError
impl From<ParamError> for PipelineError
Source§fn from(source: ParamError) -> Self
fn from(source: ParamError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ParamError
impl RefUnwindSafe for ParamError
impl Send for ParamError
impl Sync for ParamError
impl Unpin for ParamError
impl UnwindSafe for ParamError
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