Struct async_streamdata::reader::quinn::Reader
source · pub struct Reader {
pub recv_stream: RecvStream,
pub max_length: usize,
}Expand description
An quinn::RecvStream reader.
Fields§
§recv_stream: RecvStreamThe stream to read the data from.
max_length: usizeThe max length of a single read the system will attempt to do. This parameter is akin to the buffer size, but is not quite exactly that.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Reader
impl Send for Reader
impl Sync for Reader
impl Unpin for Reader
impl UnwindSafe for Reader
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more