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§
- Better
Host - A URL host and its details.
- Better
Parse Options url::ParseOptionswith public fields andstd::fmt::Debug.- Better
Url - A wrapper around a
Urlwith extra metadata. - Domain
Details - The details of a domain host.
- Host
IsNot Domain - The error returned when trying to convert a non-
HostDetails::Domaininto aDomainDetails. - Host
IsNot Ipv4 - The error returned when trying to convert a non-
HostDetails::Ipv4into aIpv4Details. - Host
IsNot Ipv6 - The error returned when trying to convert a non-
HostDetails::Ipv6into aIpv6Details. - Ipv4
Details - Details of an IPv4 host.
- Ipv6
Details - Details of an IPv6 host.
- SetHost
Error - The error
BetterUrl::set_hostreturns when it fails. - SetIp
Host Error - The error
BetterUrl::set_ip_hostreturns when it fails. - SetPassword
Error - The error
BetterUrl::set_passwordreturns when it fails. - SetPort
Error - The error
BetterUrl::set_portreturns when it fails. - SetScheme
Error - The error
BetterUrl::set_schemereturns when it fails. - SetUsername
Error - The error
BetterUrl::set_usernamereturns when it fails.
Enums§
- GetDomain
Details Error - The enum of errors
DomainDetails::parsecan return. - Host
Details - The details of a
BetterUrl’s host. - Insert
Domain Segment Error - The enum of errors
BetterUrl::insert_domain_segmentcan return. - Insert
Domain Suffix Segment Error - The enum of errors
BetterUrl::insert_domain_suffix_segmentcan return. - Insert
Path Segment Error - The enum of errors
BetterUrl::insert_path_segmentcan return. - Insert
Subdomain Segment Error - The enum of errors
BetterUrl::insert_subdomain_segmentcan return. - Keep
FirstN Path Segments Error - The enum of errors
BetterUrl::keep_first_n_path_segmentscan return. - Keep
LastN Path Segments Error - The enum of errors
BetterUrl::keep_last_n_path_segmentscan return. - Remove
FirstN Path Segments Error - The enum of errors
BetterUrl::remove_first_n_path_segmentscan return. - Remove
LastN Path Segments Error - The enum of errors
BetterUrl::remove_last_n_path_segmentscan return. - Rename
Query Param Error - The enum of errors
BetterUrl::rename_query_paramcan return. - SetDomain
Error - The enum of errors
BetterUrl::set_domaincan return. - SetDomain
Middle Error - The enum of errors
BetterUrl::set_domain_middlecan return. - SetDomain
Segment Error - The enum of errors
BetterUrl::set_domain_segmentcan return. - SetDomain
Suffix Error - The enum of errors
BetterUrl::set_domain_suffixcan return. - SetDomain
Suffix Segment Error - The enum of errors
BetterUrl::set_domain_suffix_segmentcan return. - SetFirstN
Path Segments Error - The enum of errors
BetterUrl::set_first_n_path_segmentscan return. - SetFqdn
Error - The enum of errors
BetterUrl::set_fqdncan return. - SetLastN
Path Segments Error - The enum of errors
BetterUrl::set_last_n_path_segmentscan return. - SetNot
Domain Suffix Error - The enum of errors
BetterUrl::set_not_domain_suffixcan return. - SetPath
Segment Error - The enum of errors
BetterUrl::set_path_segmentcan return. - SetPath
Segments After FirstN Error - The enum of errors
BetterUrl::set_path_segments_after_first_ncan return. - SetPath
Segments Before LastN Error - The enum of errors
BetterUrl::set_path_segments_before_last_ncan return. - SetPath
Segments Error - The enum of errors
BetterUrl::set_path_segmentscan return. - SetPath
Segments StrError - The enum of errors
BetterUrl::set_path_segments_strcan return. - SetQuery
Param Error - The enum of errors
BetterUrl::set_query_paramcan return. - SetReg
Domain Error - The enum of errors
BetterUrl::set_reg_domaincan return. - SetSubdomain
Error - The enum of errors
BetterUrl::set_subdomaincan return. - SetSubdomain
Segment Error - The enum of errors
BetterUrl::set_subdomain_segmentcan return.