// Builds the transport message with the given client/message types, and
// randomized payload
Builds the transport message with the given client/message types, and
randomized payload
Builds the transport message with the given client / message types and randomized payload
fn build_message() -> TransportPayload {
        let mut rng = rand::thread_rng();
        let mut v: Vec<u8> = Vec::new();
        for _ in 0..TEST_MESSAGE_LEN {
            v.push(rng.gen::<u8>());
        }
        TransportPayload(v)
    }
fn build_message ( ) -> TransportPayload { let mut rng = rand :: thread_rng ( ) ; let mut v : Vec < u8 > = Vec :: new ( ) ; for _ in 0 .. TEST_MESSAGE_LEN { v . push ( rng . gen :: < u8 > ( ) ) ; } TransportPayload ( v ) }
Builds the transport message with the given client/message types, and
randomized payload
Builds the transport message with the given client / message types and randomized payload