Crate mirrors_arch
source ·Expand description
Re-exports
pub use chrono;
Structs
- The type returned as the mirrorlist
- An asynchronous
Client
to make Requests with. - Holds a collection of mirrors
- An ArchLinux mirror
Enums
- Error type definitions returned by the crate
- Protocols serving the mirrors
Functions
- Gets a client that can be used to rate mirrors
- get_last_sync
time
Gets a mirror’s last sync time - Get ArchLinux mirrors from an
json
endpoint and return them in a minified format - The same as get_mirrors_with_raw but uses a specified Client for requests
- The same as get_mirrors but returns a tuple including the json as a
String
- Parses a
string slice
to the ArchLinux type - Queries a mirrorlist and calculates how long it took to get a response