pub struct ExternalPid {
pub node: Atom,
pub id: u32,
pub serial: u32,
pub creation: u32,
}Fields§
§node: Atom§id: u32§serial: u32§creation: u32Implementations§
Source§impl ExternalPid
impl ExternalPid
pub fn new(node: Atom, id: u32, serial: u32, creation: u32) -> ExternalPid
pub fn from_string( node: Atom, pid_str: &str, ) -> Result<ExternalPid, DecodeError>
pub fn to_erl_pid_string(&self) -> String
pub fn to_charlist_term(&self) -> OwnedTerm
Trait Implementations§
Source§impl Clone for ExternalPid
impl Clone for ExternalPid
Source§fn clone(&self) -> ExternalPid
fn clone(&self) -> ExternalPid
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 ExternalPid
impl Debug for ExternalPid
Source§impl Display for ExternalPid
impl Display for ExternalPid
Source§impl Hash for ExternalPid
impl Hash for ExternalPid
Source§impl Ord for ExternalPid
impl Ord for ExternalPid
Source§fn cmp(&self, other: &ExternalPid) -> Ordering
fn cmp(&self, other: &ExternalPid) -> 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 ExternalPid
impl PartialEq for ExternalPid
Source§impl PartialOrd for ExternalPid
impl PartialOrd for ExternalPid
impl Eq for ExternalPid
impl StructuralPartialEq for ExternalPid
Auto Trait Implementations§
impl Freeze for ExternalPid
impl RefUnwindSafe for ExternalPid
impl Send for ExternalPid
impl Sync for ExternalPid
impl Unpin for ExternalPid
impl UnwindSafe for ExternalPid
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