pub struct NodeAddr {
pub perm_id: Identity,
pub eph_id: Identity,
}
Expand description
An origin address for a database node on the network.
This address is generally unique, and at the very least the node’s intent is to act as though it is unique.
Fields§
§perm_id: Identity
Long-term Identity, notionally tied to the user of the node
eph_id: Identity
Ephemeral Identity, notionally tied to the node itself
Trait Implementations§
impl Eq for NodeAddr
impl StructuralPartialEq for NodeAddr
Auto Trait Implementations§
impl Freeze for NodeAddr
impl RefUnwindSafe for NodeAddr
impl Send for NodeAddr
impl Sync for NodeAddr
impl Unpin for NodeAddr
impl UnwindSafe for NodeAddr
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