pub struct InvalidUriParts(_);
Expand description
An error resulting from a failed attempt to construct a URI.
Trait Implementations§
source§impl Debug for InvalidUriParts
impl Debug for InvalidUriParts
source§impl Display for InvalidUriParts
impl Display for InvalidUriParts
source§impl Error for InvalidUriParts
impl Error for InvalidUriParts
source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
1.30.0 · 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
source§impl From<ErrorKind> for InvalidUriParts
impl From<ErrorKind> for InvalidUriParts
source§fn from(src: ErrorKind) -> InvalidUriParts
fn from(src: ErrorKind) -> InvalidUriParts
Converts to this type from the input type.
source§impl From<InvalidUriParts> for Error
impl From<InvalidUriParts> for Error
source§fn from(err: InvalidUriParts) -> Error
fn from(err: InvalidUriParts) -> Error
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for InvalidUriParts
impl Send for InvalidUriParts
impl Sync for InvalidUriParts
impl Unpin for InvalidUriParts
impl UnwindSafe for InvalidUriParts
Blanket Implementations§
§impl<T> AsFail for Twhere
T: Fail,
impl<T> AsFail for Twhere
T: Fail,
§impl<E> Fail for Ewhere
E: 'static + Error + Send + Sync,
impl<E> Fail for Ewhere
E: 'static + Error + Send + Sync,
§fn cause(&self) -> Option<&(dyn Fail + 'static)>
fn cause(&self) -> Option<&(dyn Fail + 'static)>
Returns a reference to the underlying cause of this failure, if it
is an error that wraps other errors. Read more
§fn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the
Backtrace
carried by this failure, if it
carries one. Read moresource§impl<T> IntoSql for T
impl<T> IntoSql for T
source§fn into_sql<T>(self) -> Self::Expressionwhere
Self: AsExpression<T> + Sized,
fn into_sql<T>(self) -> Self::Expressionwhere
Self: AsExpression<T> + Sized,
Convert
self
to an expression for Diesel’s query builder. Read moresource§fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expressionwhere
&'a Self: AsExpression<T>,
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expressionwhere
&'a Self: AsExpression<T>,
Convert
&self
to an expression for Diesel’s query builder. Read more