Struct TaskOwnerId
pub struct TaskOwnerId(/* private fields */);Expand description
一份线程所属域的标识(owner ID),不代表操作系统线程编号。
由TaskThread创建,同一进程不复用;同线程的不同域也具有不同身份。
Implementations§
Trait Implementations§
Source§impl Clone for TaskOwnerId
impl Clone for TaskOwnerId
Source§fn clone(&self) -> TaskOwnerId
fn clone(&self) -> TaskOwnerId
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 TaskOwnerId
Source§impl Debug for TaskOwnerId
impl Debug for TaskOwnerId
impl Eq for TaskOwnerId
Source§impl Hash for TaskOwnerId
impl Hash for TaskOwnerId
Source§impl PartialEq for TaskOwnerId
impl PartialEq for TaskOwnerId
impl StructuralPartialEq for TaskOwnerId
Auto Trait Implementations§
impl Forget for TaskOwnerId
impl Freeze for TaskOwnerId
impl Move for TaskOwnerId
impl RefUnwindSafe for TaskOwnerId
impl Send for TaskOwnerId
impl Sync for TaskOwnerId
impl Unpin for TaskOwnerId
impl UnsafeUnpin for TaskOwnerId
impl UnwindSafe for TaskOwnerId
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.