Crate better_url

Crate better_url 

Source
Expand description

A wrapper around the url crate that provides higher level operations.

Modules§

domain
Details of a domain host.
host_details
Details for hosts not stored/exposed by url.
ip
Details of an IP host.

Structs§

BetterHost
A URL host and its details.
BetterParseOptions
url::ParseOptions with public fields and std::fmt::Debug.
BetterUrl
A wrapper around a Url with extra metadata.
DomainDetails
The details of a domain host.
HostIsNotDomain
The error returned when trying to convert a non-HostDetails::Domain into a DomainDetails.
HostIsNotIpv4
The error returned when trying to convert a non-HostDetails::Ipv4 into a Ipv4Details.
HostIsNotIpv6
The error returned when trying to convert a non-HostDetails::Ipv6 into a Ipv6Details.
Ipv4Details
Details of an IPv4 host.
Ipv6Details
Details of an IPv6 host.
SetHostError
The error BetterUrl::set_host returns when it fails.
SetIpHostError
The error BetterUrl::set_ip_host returns when it fails.
SetPasswordError
The error BetterUrl::set_password returns when it fails.
SetPortError
The error BetterUrl::set_port returns when it fails.
SetSchemeError
The error BetterUrl::set_scheme returns when it fails.
SetUsernameError
The error BetterUrl::set_username returns when it fails.

Enums§

GetDomainDetailsError
The enum of errors DomainDetails::parse can return.
HostDetails
The details of a BetterUrl’s host.
InsertDomainSegmentError
The enum of errors BetterUrl::insert_domain_segment can return.
InsertDomainSuffixSegmentError
The enum of errors BetterUrl::insert_domain_suffix_segment can return.
InsertPathSegmentError
The enum of errors BetterUrl::insert_path_segment can return.
InsertSubdomainSegmentError
The enum of errors BetterUrl::insert_subdomain_segment can return.
KeepFirstNPathSegmentsError
The enum of errors BetterUrl::keep_first_n_path_segments can return.
KeepLastNPathSegmentsError
The enum of errors BetterUrl::keep_last_n_path_segments can return.
RemoveFirstNPathSegmentsError
The enum of errors BetterUrl::remove_first_n_path_segments can return.
RemoveLastNPathSegmentsError
The enum of errors BetterUrl::remove_last_n_path_segments can return.
RenameQueryParamError
The enum of errors BetterUrl::rename_query_param can return.
SetDomainError
The enum of errors BetterUrl::set_domain can return.
SetDomainMiddleError
The enum of errors BetterUrl::set_domain_middle can return.
SetDomainSegmentError
The enum of errors BetterUrl::set_domain_segment can return.
SetDomainSuffixError
The enum of errors BetterUrl::set_domain_suffix can return.
SetDomainSuffixSegmentError
The enum of errors BetterUrl::set_domain_suffix_segment can return.
SetFirstNPathSegmentsError
The enum of errors BetterUrl::set_first_n_path_segments can return.
SetFqdnError
The enum of errors BetterUrl::set_fqdn can return.
SetLastNPathSegmentsError
The enum of errors BetterUrl::set_last_n_path_segments can return.
SetNotDomainSuffixError
The enum of errors BetterUrl::set_not_domain_suffix can return.
SetPathSegmentError
The enum of errors BetterUrl::set_path_segment can return.
SetPathSegmentsAfterFirstNError
The enum of errors BetterUrl::set_path_segments_after_first_n can return.
SetPathSegmentsBeforeLastNError
The enum of errors BetterUrl::set_path_segments_before_last_n can return.
SetPathSegmentsError
The enum of errors BetterUrl::set_path_segments can return.
SetPathSegmentsStrError
The enum of errors BetterUrl::set_path_segments_str can return.
SetQueryParamError
The enum of errors BetterUrl::set_query_param can return.
SetRegDomainError
The enum of errors BetterUrl::set_reg_domain can return.
SetSubdomainError
The enum of errors BetterUrl::set_subdomain can return.
SetSubdomainSegmentError
The enum of errors BetterUrl::set_subdomain_segment can return.