#[repr(transparent)]pub struct MediaWorkerId(usize);Expand description
runtime-local identifier for one rtc media worker
this is worker identity, not a worker count or vector capacity
convert to raw usize only when indexing worker storage or projecting
telemetry and diagnostics fields
Tuple Fields§
§0: usizeImplementations§
Trait Implementations§
Source§impl Clone for MediaWorkerId
impl Clone for MediaWorkerId
Source§fn clone(&self) -> MediaWorkerId
fn clone(&self) -> MediaWorkerId
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MediaWorkerId
impl Debug for MediaWorkerId
Source§impl Hash for MediaWorkerId
impl Hash for MediaWorkerId
Source§impl Ord for MediaWorkerId
impl Ord for MediaWorkerId
Source§fn cmp(&self, other: &MediaWorkerId) -> Ordering
fn cmp(&self, other: &MediaWorkerId) -> Ordering
1.21.0 · 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 MediaWorkerId
impl PartialEq for MediaWorkerId
Source§impl PartialOrd for MediaWorkerId
impl PartialOrd for MediaWorkerId
impl Copy for MediaWorkerId
impl Eq for MediaWorkerId
impl StructuralPartialEq for MediaWorkerId
Auto Trait Implementations§
impl Freeze for MediaWorkerId
impl RefUnwindSafe for MediaWorkerId
impl Send for MediaWorkerId
impl Sync for MediaWorkerId
impl Unpin for MediaWorkerId
impl UnsafeUnpin for MediaWorkerId
impl UnwindSafe for MediaWorkerId
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