We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0cb8d2 commit 1058fc2Copy full SHA for 1058fc2
uefi/src/proto/network/snp.rs
@@ -351,10 +351,15 @@ pub struct NetworkMode {
351
}
352
353
newtype_enum! {
354
+ /// The state of a network interface
355
pub enum NetworkState: u32 => {
- Stopped = 0,
356
- Started = 1,
357
- Initialized = 2,
358
- MaxState = 4,
+ /// The interface has been stopped
+ STOPPED = 0,
+ /// The interface has been started
359
+ STARTED = 1,
360
+ /// The interface has been initialized
361
+ INITIALIZED = 2,
362
+ /// No state can have a number higher than this
363
+ MAX_STATE = 4,
364
365
0 commit comments