Enum sn_messaging::node::NodeEvent [−][src]
pub enum NodeEvent { ReplicationCompleted { chunk: BlobAddress, proof: Signature, }, ChunkWriteHandled(Result<(), CmdError>), }
Expand description
Variants
Replication completed event, emitted by a node, received by elders.
Show fields
Fields of ReplicationCompleted
chunk: BlobAddress
proof: Signature
The Elder’s accumulated signature over the chunk address. This is sent back to them so that any uninformed Elder knows that this is all good.
Adults ack read/write of chunks as to convey responsivity.
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 NodeEvent
impl UnwindSafe for NodeEvent
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