Enum sn_messaging::client::Event [−][src]
pub enum Event { TransferValidated { event: TransferValidated, }, TransferAgreementReached { proof: TransferAgreementProof, }, }
Expand description
Events from the network that are pushed to the client.
Variants
The transfer was validated by a Replica instance.
Show fields
Fields of TransferValidated
event: TransferValidated
This is the validation of the transfer requested by the client for an account.
An aggregate event created client side (for upper Client layers) out of a quorum of TransferValidated events. This is a temporary variant, until SignatureAccumulation has been broken out to its own crate, and can be used at client.
Show fields
Fields of TransferAgreementReached
proof: TransferAgreementProof
The accumulated proof.
Trait Implementations
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
Auto Trait Implementations
impl RefUnwindSafe for Event
impl UnwindSafe for Event
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V