pub struct InvalidUriBytes(_);
Expand description
An error resulting from a failed attempt to construct a URI.
Trait Implementations§
source§impl Debug for InvalidUriBytes
impl Debug for InvalidUriBytes
source§impl Display for InvalidUriBytes
impl Display for InvalidUriBytes
source§impl Error for InvalidUriBytes
impl Error for InvalidUriBytes
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 InvalidUriBytes
impl From<ErrorKind> for InvalidUriBytes
source§fn from(src: ErrorKind) -> InvalidUriBytes
fn from(src: ErrorKind) -> InvalidUriBytes
Converts to this type from the input type.
source§impl From<InvalidUriBytes> for Error
impl From<InvalidUriBytes> for Error
source§fn from(err: InvalidUriBytes) -> Error
fn from(err: InvalidUriBytes) -> Error
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for InvalidUriBytes
impl Send for InvalidUriBytes
impl Sync for InvalidUriBytes
impl Unpin for InvalidUriBytes
impl UnwindSafe for InvalidUriBytes
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