pub struct LinuxDeviceBuilder { /* private fields */ }Expand description
Builder for LinuxDevice.
Implementations§
Source§impl LinuxDeviceBuilder
impl LinuxDeviceBuilder
Sourcepub fn typ<VALUE: Into<LinuxDeviceType>>(self, value: VALUE) -> Self
pub fn typ<VALUE: Into<LinuxDeviceType>>(self, value: VALUE) -> Self
Device type, block, char, etc..
Sourcepub fn file_mode<VALUE: Into<u32>>(self, value: VALUE) -> Self
pub fn file_mode<VALUE: Into<u32>>(self, value: VALUE) -> Self
FileMode permission bits for the device.