Struct quinn_proto::StreamId [−][src]
pub struct StreamId(_);
Identifier for a stream within a particular connection
Implementations
impl StreamId[src]
impl StreamId[src]pub fn new(initiator: Side, dir: Dir, index: u64) -> Self[src]
Create a new StreamId
pub fn initiator(self) -> Side[src]
Which side of a connection initiated the stream
pub fn dir(self) -> Dir[src]
Which directions data flows in
pub fn index(self) -> u64[src]
Distinguishes streams of the same initiator and directionality
Trait Implementations
impl PartialOrd<StreamId> for StreamId[src]
impl PartialOrd<StreamId> for StreamId[src]impl StructuralEq for StreamId[src]
impl StructuralEq for StreamId[src]impl StructuralPartialEq for StreamId[src]
impl StructuralPartialEq for StreamId[src]Auto Trait Implementations
impl RefUnwindSafe for StreamId
impl RefUnwindSafe for StreamIdimpl UnwindSafe for StreamId
impl UnwindSafe for StreamIdBlanket Implementations
impl<T> Instrument for T[src]
impl<T> Instrument for T[src]pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,