Rocket/core/lib
Sergio Benitez c3520fb4a1 Pin I/O handlers. Allow 'FnOnce' in 'ws' handlers.
This modifies the 'IoHandler::io()' method so that it takes a
'Pin<Box<Self>>', allowing handlers to move internally and assume that
the data is pinned.

The change is then used in the 'ws' contrib crate to allow 'FnOnce'
handlers instead of 'FnMut'. The net effect is that streams, such as
those crated by 'Stream!', are now allowed to move internally.
2023-04-04 15:33:46 -07:00
..
fuzz Migrate Rocket to Rust 2021 edition. 2022-04-19 18:35:38 -07:00
src Pin I/O handlers. Allow 'FnOnce' in 'ws' handlers. 2023-04-04 15:33:46 -07:00
tests Implement 'De(Serialize)' for 'Status'. 2023-03-26 19:18:04 -07:00
Cargo.toml New version: 0.5.0-rc.3. 2023-03-23 16:56:17 -07:00
build.rs Migrate Rocket to Rust 2021 edition. 2022-04-19 18:35:38 -07:00