[tipc] Replace Vec with ArrayVec in TIPC

Background:
We currently use Vec when we are attempting to send messages over TIPC,
using the standard Serialize interface. We do not need to use dynamic
allocation here, and can instead use ArrayVec and static allocation.

New Stuff:
* Replace Vec with ArrayVec in send and recv.

Notes/Caveats:
* We assert that we can only now send N (currently 32) segments at a
  time. If this is insufficient, then we can always extend it larger.

Bug: 334205447
Test: manual

Change-Id: Icc5cc1ff8c16580310dd0e84eed13355d923fa07
Signed-off-by: Ross Kettleson <kettro@google.com>
1 file changed