Provides in-place, byte-slice, access to the vsock packet header.
(&self)
| 360 | /// Provides in-place, byte-slice, access to the vsock packet header. |
| 361 | /// |
| 362 | pub fn hdr(&self) -> &[u8] { |
| 363 | self.hdr.as_slice() |
| 364 | } |
| 365 | |
| 366 | /// Provides in-place, byte-slice, mutable access to the vsock packet header. |
| 367 | /// |
no test coverage detected