mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-28 01:01:34 +00:00
Add implementations of prepare_uninitialized_buffer and read_buf where relevant (#1107)
* Fix #1080 * Fix browser WebSockets
This commit is contained in:
@ -91,6 +91,9 @@ where
|
||||
S: Stream<Error = IoError>,
|
||||
S::Item: IntoBuf,
|
||||
{
|
||||
unsafe fn prepare_uninitialized_buffer(&self, _: &mut [u8]) -> bool {
|
||||
false
|
||||
}
|
||||
}
|
||||
|
||||
impl<S> Write for RwStreamSink<S>
|
||||
|
Reference in New Issue
Block a user