Rocket/contrib
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
..
db_pools Fix, clarify driver version numbers in 'db_pools'. 2023-03-25 08:30:01 -07:00
dyn_templates New version: 0.5.0-rc.3. 2023-03-23 16:56:17 -07:00
sync_db_pools New version: 0.5.0-rc.3. 2023-03-23 16:56:17 -07:00
ws Pin I/O handlers. Allow 'FnOnce' in 'ws' handlers. 2023-04-04 15:33:46 -07:00