Expand description
Driver for VirtIO socket devices.
To use the driver, you should first create a VirtIOSocket
instance with your VirtIO
transport, and then create a VsockConnectionManager
wrapping it to keep track of
connections. If you want to manage connections yourself you can use the VirtIOSocket
directly
for a lower-level interface.
See VsockConnectionManager
for a usage example.
Structs§
- Information about a particular vsock connection.
- Flags sent with a shutdown request to hint that the peer won’t send or receive more data.
- Low-level driver for a VirtIO socket device.
- Socket address.
- A higher level interface for VirtIO socket (vsock) devices.
- An event received from a VirtIO socket device.
Enums§
- The reason why a vsock connection was closed.
- The error type of VirtIO socket driver.
- Details of the type of an event received from a VirtIO socket.
Constants§
- Well-known CID for the host.