Enum viz_core::types::ParamsError
source · pub enum ParamsError {
SingleParse(String),
Parse(Error),
Empty,
}
Available on crate feature
params
only.Expand description
Rejects a parsing error.
Variants§
SingleParse(String)
Represents pasing single param was failed.
Parse(Error)
Represents pasing multi param was failed.
Empty
Represents params is empty.
Trait Implementations§
source§impl Debug for ParamsError
impl Debug for ParamsError
source§impl Display for ParamsError
impl Display for ParamsError
source§impl Error for ParamsError
impl Error for ParamsError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<Error> for ParamsError
impl From<Error> for ParamsError
source§impl From<ParamsError> for Error
impl From<ParamsError> for Error
source§fn from(e: ParamsError) -> Self
fn from(e: ParamsError) -> Self
Converts to this type from the input type.
source§impl IntoResponse for ParamsError
impl IntoResponse for ParamsError
source§fn into_response(self) -> Response
fn into_response(self) -> Response
Convert self to HTTP
Response
.source§fn into_error(self) -> Error
fn into_error(self) -> Error
Convert self to the
Error
.Auto Trait Implementations§
impl Freeze for ParamsError
impl RefUnwindSafe for ParamsError
impl Send for ParamsError
impl Sync for ParamsError
impl Unpin for ParamsError
impl UnwindSafe for ParamsError
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