mirror of
https://github.com/fafhrd91/actix-web
synced 2024-11-28 01:52:57 +01:00
hide blocking mod
This commit is contained in:
parent
16c42be4a2
commit
b6c1135798
@ -4,6 +4,8 @@ pub use actix_http::error::*;
|
|||||||
use derive_more::{Display, From};
|
use derive_more::{Display, From};
|
||||||
use url::ParseError as UrlParseError;
|
use url::ParseError as UrlParseError;
|
||||||
|
|
||||||
|
pub use crate::blocking::BlockingError;
|
||||||
|
|
||||||
/// Errors which can occur when attempting to generate resource uri.
|
/// Errors which can occur when attempting to generate resource uri.
|
||||||
#[derive(Debug, PartialEq, Display, From)]
|
#[derive(Debug, PartialEq, Display, From)]
|
||||||
pub enum UrlGenerationError {
|
pub enum UrlGenerationError {
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
mod app;
|
mod app;
|
||||||
mod app_service;
|
mod app_service;
|
||||||
pub mod blocking;
|
mod blocking;
|
||||||
mod config;
|
mod config;
|
||||||
pub mod error;
|
pub mod error;
|
||||||
mod extract;
|
mod extract;
|
||||||
@ -54,6 +54,7 @@ pub mod dev {
|
|||||||
//! ```
|
//! ```
|
||||||
|
|
||||||
pub use crate::app::AppRouter;
|
pub use crate::app::AppRouter;
|
||||||
|
pub use crate::blocking::CpuFuture;
|
||||||
pub use crate::config::{AppConfig, ServiceConfig};
|
pub use crate::config::{AppConfig, ServiceConfig};
|
||||||
pub use crate::info::ConnectionInfo;
|
pub use crate::info::ConnectionInfo;
|
||||||
pub use crate::rmap::ResourceMap;
|
pub use crate::rmap::ResourceMap;
|
||||||
|
Loading…
Reference in New Issue
Block a user