pub struct Party {
pub id: String,
pub transport_endpoint: Option<String>,
}Expand description
One participant in a threshold session.
id is the canonical ASCII name used as from_party_id /
to_party_id in crate::message::Message. transport_endpoint is
a URL the Network pillar can connect to (e.g.
quic://node1.example.com:443); it may be None for in-process
sessions where the framework routes messages directly.
Fields§
§id: String§transport_endpoint: Option<String>Implementations§
Trait Implementations§
impl Eq for Party
impl StructuralPartialEq for Party
Auto Trait Implementations§
impl Freeze for Party
impl RefUnwindSafe for Party
impl Send for Party
impl Sync for Party
impl Unpin for Party
impl UnsafeUnpin for Party
impl UnwindSafe for Party
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