pub enum HostAction {
Build,
Abandon,
SpendAttempt,
Tick(Timestamp),
}Expand description
Acts supplied by the host, including its clock and spend guard.
Variants§
Build
The host built the transaction.
Abandon
The host abandons the transaction.
SpendAttempt
The host is about to spend an output of the transaction.
Tick(Timestamp)
The host’s clock reads this time.
Trait Implementations§
Source§impl Clone for HostAction
impl Clone for HostAction
Source§impl Debug for HostAction
impl Debug for HostAction
impl Eq for HostAction
Source§impl PartialEq for HostAction
impl PartialEq for HostAction
impl StructuralPartialEq for HostAction
Auto Trait Implementations§
impl Freeze for HostAction
impl RefUnwindSafe for HostAction
impl Send for HostAction
impl Sync for HostAction
impl Unpin for HostAction
impl UnsafeUnpin for HostAction
impl UnwindSafe for HostAction
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