TODO: impl `AsyncRead` for `Buffered<impl AsyncRead, SIZE>`

Fortune for rsh's current commit: Half curse − 半凶
sock-buffering
Avril 3 years ago
parent a6a25259b8
commit 9d927c548a

@ -24,6 +24,7 @@ pub struct Buffered<T: ?Sized, const SIZE: usize>
}
impl<T, const SIZE: usize> Buffered<T, SIZE>
where [(); SIZE]: Sized, // This isn't checked?
{
/// Create a new staticly sized buffer wrapper around this stream
pub fn new(stream: T) -> Self

Loading…
Cancel
Save