pub fn encode_store_request(
req: &StoreRequest,
ext: Option<&StoreRequestExt>,
) -> Result<Vec<u8>, Error>Expand description
Encode a DhtMessage::Store with its optional trailing StoreRequestExt
(ADR 013 §Tier 1, two-phase). Typed per variant, as above.
§Errors
Propagates a postcard::Error if serialization fails.