[][src]Struct constellation::Pid

pub struct Pid(_);

A process identifier.

The current process's Pid can be retrieved with pid().

Unlike typical OS pids, it is:

  • Universally unique – that is to say, the same Pid will never be seen twice;
  • When running across a cluster, it is valid and unique cluster-wide, rather than within a single node.

All inter-process communication occurs after Senders and Receivers have been created with their remotes' Pids. Thus Pids are the primary form of addressing in a constellation cluster.

Trait Implementations

impl Clone for Pid[src]

impl Copy for Pid[src]

impl Debug for Pid[src]

impl<'de> Deserialize<'de> for Pid[src]

impl Display for Pid[src]

impl Eq for Pid[src]

impl Hash for Pid[src]

impl PartialEq<Pid> for Pid[src]

impl Serialize for Pid[src]

impl StructuralEq for Pid[src]

impl StructuralPartialEq for Pid[src]

Auto Trait Implementations

impl RefUnwindSafe for Pid

impl Send for Pid

impl Sync for Pid

impl Unpin for Pid

impl UnwindSafe for Pid

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized

impl<T> Any for T where
    T: Any + Serialize + Deserialize

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> Debug for T where
    T: Debug + Serialize + Deserialize + ?Sized

impl<T> Deserialize for T where
    T: DeserializeOwned

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 

impl<T> Display for T where
    T: Display + Serialize + Deserialize + ?Sized

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> Serialize for T where
    T: Serialize + ?Sized

impl<T> Serialize for T where
    T: Serialize + ?Sized

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Type for T where
    T: ?Sized

impl<T> Type for T[src]

type Meta = Concrete

Type of metadata for type.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,