pub struct RemoteTaskId(/* private fields */);Expand description
A unique identifier for a remote task.
Remote task IDs are separate from local TaskIds because the remote
task may not have an arena slot in the local runtime. The local proxy
task that owns the RemoteHandle has a regular TaskId.
Implementations§
Trait Implementations§
Source§impl Clone for RemoteTaskId
impl Clone for RemoteTaskId
Source§fn clone(&self) -> RemoteTaskId
fn clone(&self) -> RemoteTaskId
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 RemoteTaskId
impl Debug for RemoteTaskId
Source§impl Display for RemoteTaskId
impl Display for RemoteTaskId
Source§impl Hash for RemoteTaskId
impl Hash for RemoteTaskId
Source§impl Ord for RemoteTaskId
impl Ord for RemoteTaskId
Source§fn cmp(&self, other: &RemoteTaskId) -> Ordering
fn cmp(&self, other: &RemoteTaskId) -> 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 RemoteTaskId
impl PartialEq for RemoteTaskId
Source§impl PartialOrd for RemoteTaskId
impl PartialOrd for RemoteTaskId
impl Copy for RemoteTaskId
impl Eq for RemoteTaskId
impl StructuralPartialEq for RemoteTaskId
Auto Trait Implementations§
impl Freeze for RemoteTaskId
impl RefUnwindSafe for RemoteTaskId
impl Send for RemoteTaskId
impl Sync for RemoteTaskId
impl Unpin for RemoteTaskId
impl UnwindSafe for RemoteTaskId
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<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: NoopSpan) -> Self
fn instrument(self, _span: NoopSpan) -> Self
Instruments this future with a span (no-op when disabled).
Source§fn in_current_span(self) -> Self
fn in_current_span(self) -> Self
Instruments this future with the current span (no-op when disabled).