1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/// NBD Option Request Wire Format Implementation
///
/// This module implements the wire format deserialization for NBD option requests
/// according to the protocol specification:
/// https://github.com/NetworkBlockDevice/nbd/blob/master/doc/proto.md
///
/// # Wire Format
/// - 64 bits: 0x49484156454F5054 (ASCII 'IHAVEOPT') magic number
/// - 32 bits: Option identifier
/// - 32 bits: Length of option data
/// - [Data]: Option-specific data of specified length
pub