Expand description
Foundational types containing the bulk of a Cleaner’s logic.
Re-exports§
pub use url_part::*;pub use host_part::*;pub use cleaner::*;pub use conditions::*;pub use actions::*;pub use string_location::*;pub use string_modification::*;pub use string_source::*;pub use string_matcher::*;pub use char_matcher::*;pub use job::*;pub use named_partitioning::*;pub use set::*;pub use map::*;pub use refs::*;pub use unthreader::*;
Modules§
- actions
- Logic for how a
TaskStateshould be modified. - char_
matcher - Rules for matching a
char. - cleaner
- The configuration for how a URL should be cleaned.
- conditions
- Logic for when a
TaskStateshould be modified. - host_
details - Details for hosts not stored/exposed by
url. - host_
part - A common API for getting and setting various parts of
BetterHosts. - job
- Framework for bulk processing.
- map
HashMap<Option<String>, T>you can index withOption<&T>.- named_
partitioning - Effectively a way to query multiple disjoint
HashSets at once. - refs
- Unified APIs for the various places flags and vars exist.
- set
HashSet<Option<T>>but you can check inclusivity withOption<&T>.- string_
location - Rules for looking for a string in another string.
- string_
matcher - Rules for matching a string.
- string_
modification - Rules for modifying strings.
- string_
source - Dynamically get strings from either literals or various parts of a
TaskStateView. - unthreader
- Allows making requests, cache reads, etc. effectively single threaded to hide thread count.
- url_
part - A common API for getting and setting various parts of
BetterUrls.
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.