Enum validators::http_ftp_url::HttpFtpUrlError
source · pub enum HttpFtpUrlError {
IncorrectFormat,
IncorrectHostFormat(HostError),
LocalNotAllow,
LocalNotFound,
ProtocolNotAllow,
ProtocolNotFound,
UTF8Error(Utf8Error),
}
Variants§
IncorrectFormat
IncorrectHostFormat(HostError)
LocalNotAllow
LocalNotFound
ProtocolNotAllow
ProtocolNotFound
UTF8Error(Utf8Error)
Trait Implementations§
source§impl Clone for HttpFtpUrlError
impl Clone for HttpFtpUrlError
source§fn clone(&self) -> HttpFtpUrlError
fn clone(&self) -> HttpFtpUrlError
Returns a copy 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 HttpFtpUrlError
impl Debug for HttpFtpUrlError
source§impl Display for HttpFtpUrlError
impl Display for HttpFtpUrlError
source§impl Error for HttpFtpUrlError
impl Error for HttpFtpUrlError
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
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<HttpFtpUrlError> for HttpFtpUrlError
impl PartialEq<HttpFtpUrlError> for HttpFtpUrlError
source§fn eq(&self, other: &HttpFtpUrlError) -> bool
fn eq(&self, other: &HttpFtpUrlError) -> bool
impl StructuralPartialEq for HttpFtpUrlError
Auto Trait Implementations§
impl RefUnwindSafe for HttpFtpUrlError
impl Send for HttpFtpUrlError
impl Sync for HttpFtpUrlError
impl Unpin for HttpFtpUrlError
impl UnwindSafe for HttpFtpUrlError
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 more§impl<T> IntoCollection<T> for T
impl<T> IntoCollection<T> for T
§fn into_collection<A>(self) -> SmallVec<A>where
A: Array<Item = T>,
fn into_collection<A>(self) -> SmallVec<A>where
A: Array<Item = T>,
Converts
self
into a collection.