Enum sn_messaging::client::NodeEvent [−][src]
pub enum NodeEvent { ReplicationCompleted { chunk: BlobAddress, proof: Signature, }, ChunkWriteHandled(Result<(), CmdError>), }
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
impl<'de> Deserialize<'de> for NodeEvent
[src]
impl<'de> Deserialize<'de> for NodeEvent
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl StructuralEq for NodeEvent
[src]
impl StructuralEq for NodeEvent
[src]impl StructuralPartialEq for NodeEvent
[src]
impl StructuralPartialEq for NodeEvent
[src]Auto Trait Implementations
impl RefUnwindSafe for NodeEvent
impl RefUnwindSafe for NodeEvent
impl UnwindSafe for NodeEvent
impl UnwindSafe for NodeEvent
Blanket Implementations
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,