pub enum TssMessage {
Dkg {
msg: DkgMessage,
},
Roast {
id: u64,
msg: RoastMessage,
},
}Expand description
Represents messages in the TSS process.
Variants§
Implementations§
Source§impl TssMessage
impl TssMessage
pub fn is_response(&self) -> bool
Trait Implementations§
Source§impl Clone for TssMessage
impl Clone for TssMessage
Source§fn clone(&self) -> TssMessage
fn clone(&self) -> TssMessage
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<'de> Deserialize<'de> for TssMessage
impl<'de> Deserialize<'de> for TssMessage
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 Display for TssMessage
impl Display for TssMessage
Auto Trait Implementations§
impl Freeze for TssMessage
impl RefUnwindSafe for TssMessage
impl Send for TssMessage
impl Sync for TssMessage
impl Unpin for TssMessage
impl UnwindSafe for TssMessage
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