struct UsedElement

Defined at line 45 of file ../../src/virtualization/bin/vmm/device/tests/virtio_queue_fake.h

Returns the used element structure for the next used descriptor.

If there are no elements in the used ring, |std::nullopt| is returned.

Otherwise a pair with the first element holding the descriptor id and the

second element holding the 'len' field is returned.

Public Members

uint32_t id
size_t len