mirror of
https://github.com/ntex-rs/ntex.git
synced 2025-04-04 13:27:39 +03:00
Introduce Sealed type instead of Box<dyn Filter>
This commit is contained in:
parent
85a9485bac
commit
329ad46377
8 changed files with 50 additions and 21 deletions
|
@ -516,7 +516,7 @@ mod tests {
|
|||
.add_filter(CounterFactory(in_bytes.clone(), out_bytes.clone()))
|
||||
.await
|
||||
.unwrap();
|
||||
let state = state.into_boxed();
|
||||
let state = state.seal();
|
||||
|
||||
client.remote_buffer_cap(1024);
|
||||
client.write(TEXT);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue