pub struct ZirconIdentity {
pub process: Koid,
pub thread: Koid,
}Expand description
The Zircon koids backing one Task.
Throughout this module, “task” means starnix_core::task::Task, the Linux sense of
the word (one thread of a thread group), never Zircon’s task abstraction
(job/process/thread).
Both koids are always present: a task is only recorded once its Zircon thread handle is attached and its thread group has a valid backing process. Tasks for which either half is unavailable (a task observed mid-creation by the initial seed, or a Starnix kernel thread with no backing Zircon process) are not stored; mid-creation tasks record themselves once their thread handle is attached.
Fields§
§process: KoidThe Zircon process koid.
thread: KoidThe Zircon thread koid.
Trait Implementations§
Source§impl Clone for ZirconIdentity
impl Clone for ZirconIdentity
Source§fn clone(&self) -> ZirconIdentity
fn clone(&self) -> ZirconIdentity
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 ZirconIdentity
Source§impl Debug for ZirconIdentity
impl Debug for ZirconIdentity
impl Eq for ZirconIdentity
Source§impl PartialEq for ZirconIdentity
impl PartialEq for ZirconIdentity
impl StructuralPartialEq for ZirconIdentity
Auto Trait Implementations§
impl Freeze for ZirconIdentity
impl RefUnwindSafe for ZirconIdentity
impl Send for ZirconIdentity
impl Sync for ZirconIdentity
impl Unpin for ZirconIdentity
impl UnsafeUnpin for ZirconIdentity
impl UnwindSafe for ZirconIdentity
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, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<F, N> FidlIntoNative<Box<N>> for Fwhere
F: FidlIntoNative<N>,
impl<F, N> FidlIntoNative<Box<N>> for Fwhere
F: FidlIntoNative<N>,
fn fidl_into_native(self) -> Box<N>
§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
Converts the given service transport handle of type
T to [Self]Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more