pub struct MessageStreamId(/* private fields */);Expand description
Message stream id (msid) — the application-level stream a message belongs
to (§5.1.3), allocated by createStream and carried little-endian in a
Type 0 message header.
Implementations§
Trait Implementations§
Source§impl Clone for MessageStreamId
impl Clone for MessageStreamId
impl Copy for MessageStreamId
Source§impl Debug for MessageStreamId
impl Debug for MessageStreamId
Source§impl Default for MessageStreamId
impl Default for MessageStreamId
Source§impl<'de> Deserialize<'de> for MessageStreamId
Available on crate feature serde only.
impl<'de> Deserialize<'de> for MessageStreamId
Available on crate feature
serde only.Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for MessageStreamId
impl Display for MessageStreamId
impl Eq for MessageStreamId
Source§impl From<MessageStreamId> for u32
impl From<MessageStreamId> for u32
Source§fn from(id: MessageStreamId) -> Self
fn from(id: MessageStreamId) -> Self
Converts to this type from the input type.
Source§impl From<u32> for MessageStreamId
impl From<u32> for MessageStreamId
Source§impl Hash for MessageStreamId
impl Hash for MessageStreamId
Source§impl Ord for MessageStreamId
impl Ord for MessageStreamId
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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for MessageStreamId
impl PartialEq for MessageStreamId
Source§impl PartialOrd for MessageStreamId
impl PartialOrd for MessageStreamId
Source§impl Serialize for MessageStreamId
Available on crate feature serde only.
impl Serialize for MessageStreamId
Available on crate feature
serde only.impl StructuralPartialEq for MessageStreamId
Auto Trait Implementations§
impl Forget for MessageStreamId
impl Freeze for MessageStreamId
impl Move for MessageStreamId
impl RefUnwindSafe for MessageStreamId
impl Send for MessageStreamId
impl Sync for MessageStreamId
impl Unpin for MessageStreamId
impl UnsafeUnpin for MessageStreamId
impl UnwindSafe for MessageStreamId
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