pub struct Role { /* private fields */ }Expand description
A participant of a multiparty session.
The Role type represents an endpoint participant of a multiparty
session, and the name is used for uniquely identifying the
participant within the session.
Typical usage of a Role is to create once in a session, and reuse
the same Role variable in the session.
Implementations§
Source§impl Role
impl Role
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Role
impl RefUnwindSafe for Role
impl Send for Role
impl Sync for Role
impl Unpin for Role
impl UnwindSafe for Role
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