Enum linux_loader::cmdline::Error [−][src]
pub enum Error {
InvalidAscii,
InvalidDevice(String),
HasSpace,
HasEquals,
MissingVal(String),
MmioSize,
TooLarge,
}
Expand description
The error type for command line building operations.
Variants
Operation would have resulted in a non-printable ASCII character.
InvalidDevice(String)
Invalid device passed to the kernel command line builder.
Tuple Fields of InvalidDevice
0: String
Key/Value Operation would have had a space in it.
Key/Value Operation would have had an equals sign in it.
MissingVal(String)
Key/Value Operation was not passed a value.
Tuple Fields of MissingVal
0: String
0-sized virtio MMIO device passed to the kernel command line builder.
Operation would have made the command line too large.