diff options
Diffstat (limited to 'components/net_traits/response.rs')
-rw-r--r-- | components/net_traits/response.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/components/net_traits/response.rs b/components/net_traits/response.rs index e9de8d83a58..92eee0e4669 100644 --- a/components/net_traits/response.rs +++ b/components/net_traits/response.rs @@ -25,7 +25,7 @@ pub enum ResponseType { } /// [Response termination reason](https://fetch.spec.whatwg.org/#concept-response-termination-reason) -#[derive(Clone, Copy, Deserialize, Serialize, HeapSizeOf)] +#[derive(Debug, Clone, Copy, Deserialize, Serialize, HeapSizeOf)] pub enum TerminationReason { EndUserAbort, Fatal, @@ -61,7 +61,7 @@ pub enum CacheState { } /// [Https state](https://fetch.spec.whatwg.org/#concept-response-https-state) -#[derive(Clone, Copy, HeapSizeOf, Deserialize, Serialize)] +#[derive(Debug, Clone, Copy, HeapSizeOf, Deserialize, Serialize)] pub enum HttpsState { None, Deprecated, @@ -75,7 +75,7 @@ pub enum ResponseMsg { } /// A [Response](https://fetch.spec.whatwg.org/#concept-response) as defined by the Fetch spec -#[derive(Clone, HeapSizeOf)] +#[derive(Debug, Clone, HeapSizeOf)] pub struct Response { pub response_type: ResponseType, pub termination_reason: Option<TerminationReason>, |