hyperlane_app 11.1.0

Hyperlane application module containing core application logic, controllers, services, and middleware components.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use super::*;

#[task_panic]
#[derive(Clone, Data, Debug, Default)]
pub struct TaskPanicHook {
    pub(super) content_type: String,
    pub(super) response_body: String,
}

#[request_error]
#[derive(Clone, Data, Debug, Default)]
pub struct RequestErrorHook {
    #[get(type(copy))]
    pub(super) response_status_code: ResponseStatusCode,
    pub(super) content_type: String,
    pub(super) response_body: String,
}