struct MuxStream {
proto_id: ProtocolID,
reader: FramedReader<PeerNetMsgCodec>,
writer: FramedWriter<PeerNetMsgCodec>,
}Expand description
One QUIC protocol stream’s halves, returned from setup_quic_streams.
Fields§
§proto_id: ProtocolID§reader: FramedReader<PeerNetMsgCodec>§writer: FramedWriter<PeerNetMsgCodec>Auto Trait Implementations§
impl Freeze for MuxStream
impl RefUnwindSafe for MuxStream
impl Send for MuxStream
impl Sync for MuxStream
impl Unpin for MuxStream
impl UnsafeUnpin for MuxStream
impl UnwindSafe for MuxStream
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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