Struct devicemapper::DmOptions
source · pub struct DmOptions { /* private fields */ }
Expand description
Encapsulates options for device mapper calls
Implementations§
source§impl DmOptions
impl DmOptions
sourcepub fn set_flags(self, flags: DmFlags) -> DmOptions
pub fn set_flags(self, flags: DmFlags) -> DmOptions
Set the DmFlags value for self. Replace the previous value. Consumes self.
sourcepub fn set_udev_flags(self, udev_flags: DmUdevFlags) -> DmOptions
pub fn set_udev_flags(self, udev_flags: DmUdevFlags) -> DmOptions
Set the DmUdevFlags value for self. Replace the previous value. Consumes self.
sourcepub fn udev_flags(&self) -> DmUdevFlags
pub fn udev_flags(&self) -> DmUdevFlags
Retrieve the cookie flags (used for input in upper 16 bits of event_nr header field).
Trait Implementations§
impl Copy for DmOptions
Auto Trait Implementations§
impl Freeze for DmOptions
impl RefUnwindSafe for DmOptions
impl Send for DmOptions
impl Sync for DmOptions
impl Unpin for DmOptions
impl UnwindSafe for DmOptions
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