pub struct StreamOrderId(pub u64);Expand description
Identifier of a stream within the model.
Derived from a real Stream’s raw handle (or any
stable u64 token), this lets the CPU model order operations per stream
without owning the stream itself. The reserved value StreamOrderId::NULL
models the default (NULL) stream.
Tuple Fields§
§0: u64Implementations§
Source§impl StreamOrderId
impl StreamOrderId
Trait Implementations§
Source§impl Clone for StreamOrderId
impl Clone for StreamOrderId
Source§fn clone(&self) -> StreamOrderId
fn clone(&self) -> StreamOrderId
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for StreamOrderId
Source§impl Debug for StreamOrderId
impl Debug for StreamOrderId
impl Eq for StreamOrderId
Source§impl From<u64> for StreamOrderId
impl From<u64> for StreamOrderId
Source§impl Hash for StreamOrderId
impl Hash for StreamOrderId
Source§impl Ord for StreamOrderId
impl Ord for StreamOrderId
Source§fn cmp(&self, other: &StreamOrderId) -> Ordering
fn cmp(&self, other: &StreamOrderId) -> Ordering
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 PartialEq for StreamOrderId
impl PartialEq for StreamOrderId
Source§fn eq(&self, other: &StreamOrderId) -> bool
fn eq(&self, other: &StreamOrderId) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for StreamOrderId
impl PartialOrd for StreamOrderId
impl StructuralPartialEq for StreamOrderId
Auto Trait Implementations§
impl Freeze for StreamOrderId
impl RefUnwindSafe for StreamOrderId
impl Send for StreamOrderId
impl Sync for StreamOrderId
impl Unpin for StreamOrderId
impl UnsafeUnpin for StreamOrderId
impl UnwindSafe for StreamOrderId
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