Struct wisp_mux::MuxStreamRead
source · pub struct MuxStreamRead {
pub stream_id: u32,
pub stream_type: StreamType,
/* private fields */
}Expand description
Read side of a multiplexor stream.
Fields§
§stream_id: u32ID of the stream.
stream_type: StreamTypeType of the stream.
Implementations§
source§impl MuxStreamRead
impl MuxStreamRead
sourcepub fn into_stream(self) -> MuxStreamIoStream
pub fn into_stream(self) -> MuxStreamIoStream
Turn the read half into one that implements futures Stream, consuming it.
Auto Trait Implementations§
impl !Freeze for MuxStreamRead
impl !RefUnwindSafe for MuxStreamRead
impl Send for MuxStreamRead
impl Sync for MuxStreamRead
impl Unpin for MuxStreamRead
impl !UnwindSafe for MuxStreamRead
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