pub struct LinuxDeviceBuilder { /* private fields */ }
Expand description
Builder for LinuxDevice
.
Implementations§
Source§impl LinuxDeviceBuilder
impl LinuxDeviceBuilder
pub fn file_mode<VALUE: Into<Option<i64>>>(&mut self, value: VALUE) -> &mut Self
pub fn gid<VALUE: Into<Option<i64>>>(&mut self, value: VALUE) -> &mut Self
pub fn major<VALUE: Into<Option<i64>>>(&mut self, value: VALUE) -> &mut Self
pub fn minor<VALUE: Into<Option<i64>>>(&mut self, value: VALUE) -> &mut Self
pub fn path<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn device_type<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn uid<VALUE: Into<Option<i64>>>(&mut self, value: VALUE) -> &mut Self
Trait Implementations§
Source§impl Clone for LinuxDeviceBuilder
impl Clone for LinuxDeviceBuilder
Source§fn clone(&self) -> LinuxDeviceBuilder
fn clone(&self) -> LinuxDeviceBuilder
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for LinuxDeviceBuilder
impl Default for LinuxDeviceBuilder
Source§fn default() -> LinuxDeviceBuilder
fn default() -> LinuxDeviceBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LinuxDeviceBuilder
impl RefUnwindSafe for LinuxDeviceBuilder
impl Send for LinuxDeviceBuilder
impl Sync for LinuxDeviceBuilder
impl Unpin for LinuxDeviceBuilder
impl UnwindSafe for LinuxDeviceBuilder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more