pub struct StreamId(/* private fields */);Expand description
§9.1’s wire stream identifier.
[RATIFIED 2026/08/15 — ruling 101] Public: §16.2’s
SendStream::id(&self) -> Option<StreamId> makes it reachable whether
or not §9.1 mints the type. There is deliberately no public
constructor — an application must not be able to mint an id for a
stream it does not own.
Implementations§
Trait Implementations§
impl Copy for StreamId
impl Eq for StreamId
Source§impl Ord for StreamId
impl Ord for StreamId
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for StreamId
impl PartialOrd for StreamId
impl StructuralPartialEq for StreamId
Auto Trait Implementations§
impl Freeze for StreamId
impl RefUnwindSafe for StreamId
impl Send for StreamId
impl Sync for StreamId
impl Unpin for StreamId
impl UnsafeUnpin 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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<P> ProviderExt for P
impl<P> ProviderExt for P
Source§fn generate<C>(
&mut self,
) -> Result<<P as CryptoKeyProvider<C>>::PrivateKey, <P as CryptoKeyProvider<C>>::Error>where
C: Curve,
P: CryptoKeyProvider<C>,
fn generate<C>(
&mut self,
) -> Result<<P as CryptoKeyProvider<C>>::PrivateKey, <P as CryptoKeyProvider<C>>::Error>where
C: Curve,
P: CryptoKeyProvider<C>,
Generate a long-term static key for curve
C.Source§fn generate_ephemeral<C>(
&mut self,
) -> Result<<P as CryptoKeyProvider<C>>::PrivateKey, <P as CryptoKeyProvider<C>>::Error>where
C: Curve,
P: CryptoKeyProvider<C>,
fn generate_ephemeral<C>(
&mut self,
) -> Result<<P as CryptoKeyProvider<C>>::PrivateKey, <P as CryptoKeyProvider<C>>::Error>where
C: Curve,
P: CryptoKeyProvider<C>,
Generate an ephemeral key for curve
C.