pub fn encode(envelope: &Envelope) -> Result<Vec<u8>, MeshError>Expand description
Encode an envelope for the wire. An envelope that does not fit MAX_DATAGRAM is an
error at the sender — the receiver’s bound must never be the first place it is felt.