forked from lycheeverse/lychee
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmod.rs
More file actions
41 lines (37 loc) · 1.06 KB
/
mod.rs
File metadata and controls
41 lines (37 loc) · 1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#![allow(unreachable_pub)]
mod accept;
mod base;
mod basic_auth;
mod cache;
mod cookies;
mod error;
mod file;
mod input;
mod preprocessor;
pub(crate) mod redirect_history;
mod request;
mod request_error;
pub(crate) mod resolver;
mod response;
mod status;
mod status_code_selector;
pub(crate) mod uri;
pub use accept::*;
pub use base::Base;
pub use basic_auth::{BasicAuthCredentials, BasicAuthSelector};
pub use cache::CacheStatus;
pub use cookies::CookieJar;
pub use error::ErrorKind;
pub use file::{FileExtensions, FileType};
pub use input::{Input, InputContent, InputResolver, InputSource, ResolvedInputSource};
pub use preprocessor::Preprocessor;
pub use redirect_history::{Redirect, Redirects};
pub use request::Request;
pub use request_error::RequestError;
pub use response::{Response, ResponseBody};
pub use status::Status;
pub use status_code_selector::*;
/// The lychee `Result` type
pub type Result<T> = std::result::Result<T, crate::ErrorKind>;
/// The lychee `Result` type, aliased to avoid conflicting with [`std::result::Result`].
pub type LycheeResult<T> = Result<T>;