pub enum UrlBuilderError {
NoSubHost(Url),
ProviderNotFound(Provider),
ClientNotFound(ProxyClient),
ParseFromUrlNoQuery(Url),
UnsupportedUrlType(ConvertorUrlType),
EncryptError(EncryptError),
QueryError(QueryError),
}Variants§
NoSubHost(Url)
ProviderNotFound(Provider)
ClientNotFound(ProxyClient)
ParseFromUrlNoQuery(Url)
UnsupportedUrlType(ConvertorUrlType)
EncryptError(EncryptError)
QueryError(QueryError)
Trait Implementations§
Source§impl Debug for UrlBuilderError
impl Debug for UrlBuilderError
Source§impl Display for UrlBuilderError
impl Display for UrlBuilderError
Source§impl Error for UrlBuilderError
impl Error for UrlBuilderError
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<EncryptError> for UrlBuilderError
impl From<EncryptError> for UrlBuilderError
Source§fn from(source: EncryptError) -> Self
fn from(source: EncryptError) -> Self
Converts to this type from the input type.
Source§impl From<QueryError> for UrlBuilderError
impl From<QueryError> for UrlBuilderError
Source§fn from(source: QueryError) -> Self
fn from(source: QueryError) -> Self
Converts to this type from the input type.
Source§impl From<UrlBuilderError> for ConfigError
impl From<UrlBuilderError> for ConfigError
Source§fn from(source: UrlBuilderError) -> Self
fn from(source: UrlBuilderError) -> Self
Converts to this type from the input type.
Source§impl From<UrlBuilderError> for ParseError
impl From<UrlBuilderError> for ParseError
Source§fn from(source: UrlBuilderError) -> Self
fn from(source: UrlBuilderError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for UrlBuilderError
impl RefUnwindSafe for UrlBuilderError
impl Send for UrlBuilderError
impl Sync for UrlBuilderError
impl Unpin for UrlBuilderError
impl UnsafeUnpin for UrlBuilderError
impl UnwindSafe for UrlBuilderError
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