pub enum StateChange {
Show 34 variants
Block(Block),
ActionInitChain(ActionInitChain),
ActionInitInitiator(ActionInitInitiator),
ActionInitMediator(ActionInitMediator),
ActionInitTarget(ActionInitTarget),
ActionChannelClose(ActionChannelClose),
ActionChannelCoopSettle(ActionChannelCoopSettle),
ActionChannelSetRevealTimeout(ActionChannelSetRevealTimeout),
ActionChannelWithdraw(ActionChannelWithdraw),
ActionTransferReroute(ActionTransferReroute),
ActionCancelPayment(ActionCancelPayment),
ContractReceiveTokenNetworkRegistry(ContractReceiveTokenNetworkRegistry),
ContractReceiveTokenNetworkCreated(ContractReceiveTokenNetworkCreated),
ContractReceiveChannelOpened(ContractReceiveChannelOpened),
ContractReceiveChannelClosed(ContractReceiveChannelClosed),
ContractReceiveChannelSettled(ContractReceiveChannelSettled),
ContractReceiveChannelDeposit(ContractReceiveChannelDeposit),
ContractReceiveChannelWithdraw(ContractReceiveChannelWithdraw),
ContractReceiveChannelBatchUnlock(ContractReceiveChannelBatchUnlock),
ContractReceiveSecretReveal(ContractReceiveSecretReveal),
ContractReceiveRouteNew(ContractReceiveRouteNew),
ContractReceiveUpdateTransfer(ContractReceiveUpdateTransfer),
ReceiveDelivered(ReceiveDelivered),
ReceiveProcessed(ReceiveProcessed),
ReceiveTransferCancelRoute(ReceiveTransferCancelRoute),
ReceiveSecretReveal(ReceiveSecretReveal),
ReceiveSecretRequest(ReceiveSecretRequest),
ReceiveTransferRefund(ReceiveTransferRefund),
ReceiveLockExpired(ReceiveLockExpired),
ReceiveUnlock(ReceiveUnlock),
ReceiveWithdrawRequest(ReceiveWithdrawRequest),
ReceiveWithdrawConfirmation(ReceiveWithdrawConfirmation),
ReceiveWithdrawExpired(ReceiveWithdrawExpired),
UpdateServicesAddresses(UpdateServicesAddresses),
}Expand description
An enum containing all possible state change variants.
Variants§
Block(Block)
ActionInitChain(ActionInitChain)
ActionInitInitiator(ActionInitInitiator)
ActionInitMediator(ActionInitMediator)
ActionInitTarget(ActionInitTarget)
ActionChannelClose(ActionChannelClose)
ActionChannelCoopSettle(ActionChannelCoopSettle)
ActionChannelSetRevealTimeout(ActionChannelSetRevealTimeout)
ActionChannelWithdraw(ActionChannelWithdraw)
ActionTransferReroute(ActionTransferReroute)
ActionCancelPayment(ActionCancelPayment)
ContractReceiveTokenNetworkRegistry(ContractReceiveTokenNetworkRegistry)
ContractReceiveTokenNetworkCreated(ContractReceiveTokenNetworkCreated)
ContractReceiveChannelOpened(ContractReceiveChannelOpened)
ContractReceiveChannelClosed(ContractReceiveChannelClosed)
ContractReceiveChannelSettled(ContractReceiveChannelSettled)
ContractReceiveChannelDeposit(ContractReceiveChannelDeposit)
ContractReceiveChannelWithdraw(ContractReceiveChannelWithdraw)
ContractReceiveChannelBatchUnlock(ContractReceiveChannelBatchUnlock)
ContractReceiveSecretReveal(ContractReceiveSecretReveal)
ContractReceiveRouteNew(ContractReceiveRouteNew)
ContractReceiveUpdateTransfer(ContractReceiveUpdateTransfer)
ReceiveDelivered(ReceiveDelivered)
ReceiveProcessed(ReceiveProcessed)
ReceiveTransferCancelRoute(ReceiveTransferCancelRoute)
ReceiveSecretReveal(ReceiveSecretReveal)
ReceiveSecretRequest(ReceiveSecretRequest)
ReceiveTransferRefund(ReceiveTransferRefund)
ReceiveLockExpired(ReceiveLockExpired)
ReceiveUnlock(ReceiveUnlock)
ReceiveWithdrawRequest(ReceiveWithdrawRequest)
ReceiveWithdrawConfirmation(ReceiveWithdrawConfirmation)
ReceiveWithdrawExpired(ReceiveWithdrawExpired)
UpdateServicesAddresses(UpdateServicesAddresses)
Implementations§
Trait Implementations§
Source§impl Clone for StateChange
impl Clone for StateChange
Source§fn clone(&self) -> StateChange
fn clone(&self) -> StateChange
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 StateChange
impl Debug for StateChange
Source§impl<'de> Deserialize<'de> for StateChange
impl<'de> Deserialize<'de> for StateChange
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 Into<StateChange> for ActionCancelPayment
impl Into<StateChange> for ActionCancelPayment
Source§fn into(self) -> StateChange
fn into(self) -> StateChange
Converts this type into the (usually inferred) input type.
Source§impl Into<StateChange> for ActionChannelClose
impl Into<StateChange> for ActionChannelClose
Source§fn into(self) -> StateChange
fn into(self) -> StateChange
Converts this type into the (usually inferred) input type.
Source§impl Into<StateChange> for ActionChannelCoopSettle
impl Into<StateChange> for ActionChannelCoopSettle
Source§fn into(self) -> StateChange
fn into(self) -> StateChange
Converts this type into the (usually inferred) input type.
Source§impl Into<StateChange> for ActionChannelSetRevealTimeout
impl Into<StateChange> for ActionChannelSetRevealTimeout
Source§fn into(self) -> StateChange
fn into(self) -> StateChange
Converts this type into the (usually inferred) input type.
Source§impl Into<StateChange> for ActionChannelWithdraw
impl Into<StateChange> for ActionChannelWithdraw
Source§fn into(self) -> StateChange
fn into(self) -> StateChange
Converts this type into the (usually inferred) input type.
Source§impl Into<StateChange> for ActionInitChain
impl Into<StateChange> for ActionInitChain
Source§fn into(self) -> StateChange
fn into(self) -> StateChange
Converts this type into the (usually inferred) input type.
Source§impl Into<StateChange> for ActionInitInitiator
impl Into<StateChange> for ActionInitInitiator
Source§fn into(self) -> StateChange
fn into(self) -> StateChange
Converts this type into the (usually inferred) input type.
Source§impl Into<StateChange> for ActionInitMediator
impl Into<StateChange> for ActionInitMediator
Source§fn into(self) -> StateChange
fn into(self) -> StateChange
Converts this type into the (usually inferred) input type.
Source§impl Into<StateChange> for ActionInitTarget
impl Into<StateChange> for ActionInitTarget
Source§fn into(self) -> StateChange
fn into(self) -> StateChange
Converts this type into the (usually inferred) input type.
Source§impl Into<StateChange> for ActionTransferReroute
impl Into<StateChange> for ActionTransferReroute
Source§fn into(self) -> StateChange
fn into(self) -> StateChange
Converts this type into the (usually inferred) input type.
Source§impl Into<StateChange> for Block
impl Into<StateChange> for Block
Source§fn into(self) -> StateChange
fn into(self) -> StateChange
Converts this type into the (usually inferred) input type.
Source§impl Into<StateChange> for ContractReceiveChannelBatchUnlock
impl Into<StateChange> for ContractReceiveChannelBatchUnlock
Source§fn into(self) -> StateChange
fn into(self) -> StateChange
Converts this type into the (usually inferred) input type.
Source§impl Into<StateChange> for ContractReceiveChannelClosed
impl Into<StateChange> for ContractReceiveChannelClosed
Source§fn into(self) -> StateChange
fn into(self) -> StateChange
Converts this type into the (usually inferred) input type.
Source§impl Into<StateChange> for ContractReceiveChannelDeposit
impl Into<StateChange> for ContractReceiveChannelDeposit
Source§fn into(self) -> StateChange
fn into(self) -> StateChange
Converts this type into the (usually inferred) input type.
Source§impl Into<StateChange> for ContractReceiveChannelOpened
impl Into<StateChange> for ContractReceiveChannelOpened
Source§fn into(self) -> StateChange
fn into(self) -> StateChange
Converts this type into the (usually inferred) input type.
Source§impl Into<StateChange> for ContractReceiveChannelSettled
impl Into<StateChange> for ContractReceiveChannelSettled
Source§fn into(self) -> StateChange
fn into(self) -> StateChange
Converts this type into the (usually inferred) input type.
Source§impl Into<StateChange> for ContractReceiveChannelWithdraw
impl Into<StateChange> for ContractReceiveChannelWithdraw
Source§fn into(self) -> StateChange
fn into(self) -> StateChange
Converts this type into the (usually inferred) input type.
Source§impl Into<StateChange> for ContractReceiveRouteNew
impl Into<StateChange> for ContractReceiveRouteNew
Source§fn into(self) -> StateChange
fn into(self) -> StateChange
Converts this type into the (usually inferred) input type.
Source§impl Into<StateChange> for ContractReceiveSecretReveal
impl Into<StateChange> for ContractReceiveSecretReveal
Source§fn into(self) -> StateChange
fn into(self) -> StateChange
Converts this type into the (usually inferred) input type.
Source§impl Into<StateChange> for ContractReceiveTokenNetworkCreated
impl Into<StateChange> for ContractReceiveTokenNetworkCreated
Source§fn into(self) -> StateChange
fn into(self) -> StateChange
Converts this type into the (usually inferred) input type.
Source§impl Into<StateChange> for ContractReceiveTokenNetworkRegistry
impl Into<StateChange> for ContractReceiveTokenNetworkRegistry
Source§fn into(self) -> StateChange
fn into(self) -> StateChange
Converts this type into the (usually inferred) input type.
Source§impl Into<StateChange> for ContractReceiveUpdateTransfer
impl Into<StateChange> for ContractReceiveUpdateTransfer
Source§fn into(self) -> StateChange
fn into(self) -> StateChange
Converts this type into the (usually inferred) input type.
Source§impl Into<StateChange> for ReceiveDelivered
impl Into<StateChange> for ReceiveDelivered
Source§fn into(self) -> StateChange
fn into(self) -> StateChange
Converts this type into the (usually inferred) input type.
Source§impl Into<StateChange> for ReceiveLockExpired
impl Into<StateChange> for ReceiveLockExpired
Source§fn into(self) -> StateChange
fn into(self) -> StateChange
Converts this type into the (usually inferred) input type.
Source§impl Into<StateChange> for ReceiveProcessed
impl Into<StateChange> for ReceiveProcessed
Source§fn into(self) -> StateChange
fn into(self) -> StateChange
Converts this type into the (usually inferred) input type.
Source§impl Into<StateChange> for ReceiveSecretRequest
impl Into<StateChange> for ReceiveSecretRequest
Source§fn into(self) -> StateChange
fn into(self) -> StateChange
Converts this type into the (usually inferred) input type.
Source§impl Into<StateChange> for ReceiveSecretReveal
impl Into<StateChange> for ReceiveSecretReveal
Source§fn into(self) -> StateChange
fn into(self) -> StateChange
Converts this type into the (usually inferred) input type.
Source§impl Into<StateChange> for ReceiveTransferCancelRoute
impl Into<StateChange> for ReceiveTransferCancelRoute
Source§fn into(self) -> StateChange
fn into(self) -> StateChange
Converts this type into the (usually inferred) input type.
Source§impl Into<StateChange> for ReceiveTransferRefund
impl Into<StateChange> for ReceiveTransferRefund
Source§fn into(self) -> StateChange
fn into(self) -> StateChange
Converts this type into the (usually inferred) input type.
Source§impl Into<StateChange> for ReceiveUnlock
impl Into<StateChange> for ReceiveUnlock
Source§fn into(self) -> StateChange
fn into(self) -> StateChange
Converts this type into the (usually inferred) input type.
Source§impl Into<StateChange> for ReceiveWithdrawConfirmation
impl Into<StateChange> for ReceiveWithdrawConfirmation
Source§fn into(self) -> StateChange
fn into(self) -> StateChange
Converts this type into the (usually inferred) input type.
Source§impl Into<StateChange> for ReceiveWithdrawExpired
impl Into<StateChange> for ReceiveWithdrawExpired
Source§fn into(self) -> StateChange
fn into(self) -> StateChange
Converts this type into the (usually inferred) input type.
Source§impl Into<StateChange> for ReceiveWithdrawRequest
impl Into<StateChange> for ReceiveWithdrawRequest
Source§fn into(self) -> StateChange
fn into(self) -> StateChange
Converts this type into the (usually inferred) input type.
Source§impl Into<StateChange> for UpdateServicesAddresses
impl Into<StateChange> for UpdateServicesAddresses
Source§fn into(self) -> StateChange
fn into(self) -> StateChange
Converts this type into the (usually inferred) input type.
Auto Trait Implementations§
impl Freeze for StateChange
impl RefUnwindSafe for StateChange
impl Send for StateChange
impl Sync for StateChange
impl Unpin for StateChange
impl UnwindSafe for StateChange
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
Source§impl<T> CheckedAs for T
impl<T> CheckedAs for T
Source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
Casts the value.
Source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
Source§fn checked_cast_from(src: Src) -> Option<Dst>
fn checked_cast_from(src: Src) -> Option<Dst>
Casts the value.
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> OverflowingAs for T
impl<T> OverflowingAs for T
Source§fn overflowing_as<Dst>(self) -> (Dst, bool)where
T: OverflowingCast<Dst>,
fn overflowing_as<Dst>(self) -> (Dst, bool)where
T: OverflowingCast<Dst>,
Casts the value.
Source§impl<Src, Dst> OverflowingCastFrom<Src> for Dstwhere
Src: OverflowingCast<Dst>,
impl<Src, Dst> OverflowingCastFrom<Src> for Dstwhere
Src: OverflowingCast<Dst>,
Source§fn overflowing_cast_from(src: Src) -> (Dst, bool)
fn overflowing_cast_from(src: Src) -> (Dst, bool)
Casts the value.
Source§impl<T> SaturatingAs for T
impl<T> SaturatingAs for T
Source§fn saturating_as<Dst>(self) -> Dstwhere
T: SaturatingCast<Dst>,
fn saturating_as<Dst>(self) -> Dstwhere
T: SaturatingCast<Dst>,
Casts the value.
Source§impl<Src, Dst> SaturatingCastFrom<Src> for Dstwhere
Src: SaturatingCast<Dst>,
impl<Src, Dst> SaturatingCastFrom<Src> for Dstwhere
Src: SaturatingCast<Dst>,
Source§fn saturating_cast_from(src: Src) -> Dst
fn saturating_cast_from(src: Src) -> Dst
Casts the value.
Source§impl<T> UnwrappedAs for T
impl<T> UnwrappedAs for T
Source§fn unwrapped_as<Dst>(self) -> Dstwhere
T: UnwrappedCast<Dst>,
fn unwrapped_as<Dst>(self) -> Dstwhere
T: UnwrappedCast<Dst>,
Casts the value.
Source§impl<Src, Dst> UnwrappedCastFrom<Src> for Dstwhere
Src: UnwrappedCast<Dst>,
impl<Src, Dst> UnwrappedCastFrom<Src> for Dstwhere
Src: UnwrappedCast<Dst>,
Source§fn unwrapped_cast_from(src: Src) -> Dst
fn unwrapped_cast_from(src: Src) -> Dst
Casts the value.
Source§impl<T> WrappingAs for T
impl<T> WrappingAs for T
Source§fn wrapping_as<Dst>(self) -> Dstwhere
T: WrappingCast<Dst>,
fn wrapping_as<Dst>(self) -> Dstwhere
T: WrappingCast<Dst>,
Casts the value.
Source§impl<Src, Dst> WrappingCastFrom<Src> for Dstwhere
Src: WrappingCast<Dst>,
impl<Src, Dst> WrappingCastFrom<Src> for Dstwhere
Src: WrappingCast<Dst>,
Source§fn wrapping_cast_from(src: Src) -> Dst
fn wrapping_cast_from(src: Src) -> Dst
Casts the value.