We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86b6ffa commit 928b21eCopy full SHA for 928b21e
decompression-plz/src/dtraits.rs
@@ -0,0 +1,11 @@
1
+use header_plz::{HeaderMap, body_headers::BodyHeader};
2
+
3
+pub trait DecompressTrait {
4
+ fn body_headers(&mut self) -> &Option<BodyHeader>;
5
6
+ fn header_map_as_mut(&mut self) -> &mut HeaderMap;
7
8
+ fn remove_header_on_position(&mut self, position: usize); // depends - header_map_as_mut
9
10
+ fn update_header_value_on_position(&mut self, position: usize, value: &str); // depends - header_map_as_mut
11
+}
decompression-plz/src/lib.rs
@@ -1,5 +1,6 @@
#![allow(warnings)]
pub mod decompression;
pub mod dstruct;
+pub mod dtraits;
mod error;
mod state;
0 commit comments