Enum round_based::MessageDestination
source · pub enum MessageDestination {
AllParties,
OneParty(PartyIndex),
}
Expand description
Destination of an outgoing message
Variants§
Implementations§
Trait Implementations§
source§impl Clone for MessageDestination
impl Clone for MessageDestination
source§fn clone(&self) -> MessageDestination
fn clone(&self) -> MessageDestination
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for MessageDestination
impl Debug for MessageDestination
source§impl PartialEq for MessageDestination
impl PartialEq for MessageDestination
source§fn eq(&self, other: &MessageDestination) -> bool
fn eq(&self, other: &MessageDestination) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for MessageDestination
impl Eq for MessageDestination
impl StructuralPartialEq for MessageDestination
Auto Trait Implementations§
impl Freeze for MessageDestination
impl RefUnwindSafe for MessageDestination
impl Send for MessageDestination
impl Sync for MessageDestination
impl Unpin for MessageDestination
impl UnwindSafe for MessageDestination
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