/// Process record and print success or error
/// TODO: Add version handling for SPU
Process record and print success or error
TODO: Add version handling for SPU
Process record and print success or error TODO : Add version handling for SPU
async fn process_record<L: ReplicaLeader>(spu: &mut L, record: Vec<u8>) {
        match spu.send_record(record).await {
            Ok(()) => print_cli_ok!(),
            Err(err) => print_cli_err!(format!("{}", err)),
        }
    }
async fn process_record < L : ReplicaLeader > ( spu : & mut L , record : Vec < u8 > ) { match spu . send_record ( record ) . await { Ok ( ( ) ) => print_cli_ok ! ( ) , Err ( err ) => print_cli_err ! ( format ( " " err ) ) , } }
Process record and print success or error
TODO: Add version handling for SPU
Process record and print success or error TODO : Add version handling for SPU
spu
&mut L
record
Vec<u8>