pub struct LocalIdentityId(pub u8);Expand description
Opaque handle that identifies a locally registered identity within the Mac coordinator.
Every UMSH node presents one or more Ed25519 public keys to the network. When a key is
registered via Mac::add_identity (or Mac::register_ephemeral for PFS sessions),
the coordinator allocates a slot and returns a LocalIdentityId that permanently names it.
The inner u8 is a stable zero-based slot index — slot 0 is the first identity
registered, slot 1 the second, and so on. All per-identity coordinator operations
(queue_unicast, queue_multicast, ACK tracking, key installation, frame-counter
persistence) accept a LocalIdentityId to select which local keypair to use, allowing a
single coordinator instance to operate multiple identities simultaneously — for example, a
persistent long-term identity alongside an ephemeral PFS session identity.
Tuple Fields§
§0: u8Trait Implementations§
Source§impl Clone for LocalIdentityId
impl Clone for LocalIdentityId
Source§fn clone(&self) -> LocalIdentityId
fn clone(&self) -> LocalIdentityId
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for LocalIdentityId
impl Debug for LocalIdentityId
Source§impl Hash for LocalIdentityId
impl Hash for LocalIdentityId
Source§impl PartialEq for LocalIdentityId
impl PartialEq for LocalIdentityId
impl Copy for LocalIdentityId
impl Eq for LocalIdentityId
impl StructuralPartialEq for LocalIdentityId
Auto Trait Implementations§
impl Freeze for LocalIdentityId
impl RefUnwindSafe for LocalIdentityId
impl Send for LocalIdentityId
impl Sync for LocalIdentityId
impl Unpin for LocalIdentityId
impl UnwindSafe for LocalIdentityId
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
clone_to_uninit)