Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LibertyOS-Development/kernel
/ Device
Enum
Device
src/fs/dev.rs:13–18 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
11
// Device enumeration
12
#[derive(Debug, Clone)]
13
pub enum Device
14
{
15
File(File),
16
Console(Console),
17
Random(Random),
18
}
19
20
// Basic device type enumeration
21
#[repr(u8)]
Callers
1
new
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected