pub fn random_msg() -> Vec<u8> {
    let mut rng = rand::thread_rng();
    let data: Vec<u8> = (0..8).map(|_| rng.gen_range(0..255)).collect();
    data
}
/// Generate any random 8 byte CAN message
Generate any random 8 byte CAN message
Generate any random 8 byte CAN message
pub fn random_msg() -> Vec<u8> {
    let mut rng = rand::thread_rng();
    let data: Vec<u8> = (0..8).map(|_| rng.gen_range(0..255)).collect();
    data
}
pub fn random_msg ( ) -> Vec < u8 > { let mut rng = rand :: thread_rng ( ) ; let data : Vec < u8 > = ( 0 .. 8 ) . map ( | _ | rng . gen_range ( 0 .. 255 ) ) . collect ( ) ; data }
Generate any random 8 byte CAN message
Generate any random 8 byte CAN message