Enum safe_network::messaging::system::NodeQuery [−][src]
pub enum NodeQuery {
Metadata {
query: DataQuery,
auth: ServiceAuth,
origin: EndUser,
},
GetChunk {
address: ChunkAddress,
origin: EndUser,
},
}
Expand description
Query originating at a node
Variants
Metadata is handled by Elders
Fields of Metadata
query: DataQuery
The actual query message
auth: ServiceAuth
Client signature
origin: EndUser
The user that has initiated this query
Chunks are handled by Adults
Fields of GetChunk
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 NodeQuery
impl UnwindSafe for NodeQuery
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more