Struct xwt_web_sys::RecvStream
source · pub struct RecvStream {
pub transport: Rc<WebTransport>,
pub stream: WebTransportReceiveStream,
pub reader: Reader,
}
Expand description
Recv the data from a WebTransport stream.
Fields§
§transport: Rc<WebTransport>
The WebTransport instance.
stream: WebTransportReceiveStream
The handle to the stream to read from.
reader: Reader
A reader to conduct the operation.
Trait Implementations§
source§impl AsyncRead for RecvStream
impl AsyncRead for RecvStream
source§impl Read for RecvStream
impl Read for RecvStream
Auto Trait Implementations§
impl Freeze for RecvStream
impl !RefUnwindSafe for RecvStream
impl !Send for RecvStream
impl !Sync for RecvStream
impl Unpin for RecvStream
impl !UnwindSafe for RecvStream
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