pub enum RoastAction {
Send(Identifier, RoastMessage),
SendMany(Vec<Identifier>, RoastMessage),
Complete([u8; 32], Signature),
}
Expand description
Represents an action to be taken by the Roast state machine.
Variants§
Send(Identifier, RoastMessage)
SendMany(Vec<Identifier>, RoastMessage)
Complete([u8; 32], Signature)
Trait Implementations§
Source§impl Clone for RoastAction
impl Clone for RoastAction
Source§fn clone(&self) -> RoastAction
fn clone(&self) -> RoastAction
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 RoastAction
impl Debug for RoastAction
Source§impl PartialEq for RoastAction
impl PartialEq for RoastAction
impl Eq for RoastAction
impl StructuralPartialEq for RoastAction
Auto Trait Implementations§
impl Freeze for RoastAction
impl RefUnwindSafe for RoastAction
impl Send for RoastAction
impl Sync for RoastAction
impl Unpin for RoastAction
impl UnwindSafe for RoastAction
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