Struct libmount::Move
[−]
[src]
pub struct Move { /* fields omitted */ }
A move operation definition
This is a similar to mount --move
and allows to atomically move mount
point from one place to another
Methods
impl Move
[src]
fn new<A: AsRef<Path>, B: AsRef<Path>>(source: A, target: B) -> Move
Create a new Move operation
fn bare_move_mountpoint(self) -> Result<(), OSError>
fn move_mountpoint(self) -> Result<(), Error>
Execute a bind mount and explain the error immediately
Trait Implementations
impl Debug for Move
[src]
impl Clone for Move
[src]
fn clone(&self) -> Move
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more