pub enum Party {
Address(String),
Signer {
address: String,
signer: Arc<dyn Signer + Send + Sync>,
},
}Expand description
A party referenced by the protocol.
Variants§
Implementations§
Trait Implementations§
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