pub struct StreamId(_);Expand description
Identify a single stream on a circuit.
These identifiers are local to each hop on a circuit
Implementations§
Trait Implementations§
source§impl PartialEq<StreamId> for StreamId
impl PartialEq<StreamId> for StreamId
impl Copy for StreamId
impl Eq for StreamId
impl StructuralEq for StreamId
impl StructuralPartialEq for StreamId
Auto Trait Implementations§
impl RefUnwindSafe for StreamId
impl Send for StreamId
impl Sync for StreamId
impl Unpin for StreamId
impl UnwindSafe for StreamId
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
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.