pub struct PeerId(pub u64);
Expand description
A Fuchsia-generated unique Identifier for a remote Peer that has been observed by the system Identifiers are currently guaranteed to be stable for the duration of system uptime, including if the peer is lost and then re-observed. Identifiers are not guaranteed to be stable between reboots.
Tuple Fields§
§0: u64
Implementations§
Trait Implementations§
Source§impl WriteInspect for PeerId
impl WriteInspect for PeerId
Source§fn write_inspect(&self, writer: &Node, key: impl Into<StringReference>)
fn write_inspect(&self, writer: &Node, key: impl Into<StringReference>)
Write a single value (property or child node) to |node| with the specified |key|.
If multiple properties need to be written, consider creating a single child
node with those properties.
impl Copy for PeerId
impl Eq for PeerId
impl StructuralPartialEq for PeerId
Auto Trait Implementations§
impl Freeze for PeerId
impl RefUnwindSafe for PeerId
impl Send for PeerId
impl Sync for PeerId
impl Unpin for PeerId
impl UnwindSafe for PeerId
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)