Expand description
The loops of drive_stream and
drive_messages over tokio streams and async message transports.
Traits§
- Message
Transport - An asynchronous transport of whole messages.
Functions§
- complete_
messages complete_messagesover an async message transport: the handshake once complete, not yet finished.- complete_
messages_ until complete_messagesthat ends atdeadline, asdrive_stream_untildoes.- complete_
stream complete_streamover a tokio stream: the handshake once complete, not yet finished.- complete_
stream_ until complete_streamthat ends atdeadline, asdrive_stream_untildoes.- drive_
messages drive_messagesover an async message transport.- drive_
messages_ until drive_messagesthat ends atdeadline, asdrive_stream_untildoes.- drive_
stream drive_streamover a tokio stream.- drive_
stream_ until drive_streamthat ends atdeadline, throughtokio::time: the runtime must have its timer enabled (tokio panics otherwise).- read_
frame read_frameover a tokio stream: the buffer grows as bytes arrive.- write_
frame write_frameover a tokio stream.