You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Release notes
Enhancements
Added three new methods to the Live client for more control over when I/O occurs. Together
they provide an alternative to next_record():
fill_buf(): reads available data from the socket into the internal buffer without
processing records
try_next_record(): returns the next record from the internal buffer without
performing any I/O. Returns Ok(None) if no complete records are available in the buffer.
is_closed(): returns whether the connection has been closed
Added SlowReaderBehavior enum and slow_reader_behavior() setter on the live client builder to configure
gateway behavior when client falls behind
Added slow_reader_behavior() getter to LiveClient
Upgraded DBN version to 0.49.0:
Added encode_records to EncodeRecord and AsyncEncodeRecord traits for more
efficient batch encoding
Added encode_record_refs to EncodeRecordRef and AsyncEncodeRecordRef traits with
more efficient vectored I/O implementation for DBN
Breaking changes
From DBN:
Moved encode_records method from the EncodeDbn trait to EncodeRecord