pub struct TwoPartyMessage { /* private fields */ }Expand description
2SM message to be sent over the network.
Note that this does not contain any additional information about the sender and receiver. This information needs to be added in applications.
Trait Implementations§
Source§impl Clone for TwoPartyMessage
impl Clone for TwoPartyMessage
Source§fn clone(&self) -> TwoPartyMessage
fn clone(&self) -> TwoPartyMessage
Returns a duplicate 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 TwoPartyMessage
impl Debug for TwoPartyMessage
Source§impl<'de> Deserialize<'de> for TwoPartyMessage
impl<'de> Deserialize<'de> for TwoPartyMessage
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for TwoPartyMessage
impl PartialEq for TwoPartyMessage
Source§impl Serialize for TwoPartyMessage
impl Serialize for TwoPartyMessage
impl Eq for TwoPartyMessage
impl StructuralPartialEq for TwoPartyMessage
Auto Trait Implementations§
impl Freeze for TwoPartyMessage
impl RefUnwindSafe for TwoPartyMessage
impl Send for TwoPartyMessage
impl Sync for TwoPartyMessage
impl Unpin for TwoPartyMessage
impl UnwindSafe for TwoPartyMessage
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