Struct libcontainer::user_ns::UserNamespaceIDMapper
source · pub struct UserNamespaceIDMapper { /* private fields */ }
Implementations§
source§impl UserNamespaceIDMapper
impl UserNamespaceIDMapper
pub fn new() -> Self
pub fn get_uid_path(&self, pid: &Pid) -> PathBuf
pub fn get_gid_path(&self, pid: &Pid) -> PathBuf
Trait Implementations§
source§impl Clone for UserNamespaceIDMapper
impl Clone for UserNamespaceIDMapper
source§fn clone(&self) -> UserNamespaceIDMapper
fn clone(&self) -> UserNamespaceIDMapper
Returns a copy 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 Debug for UserNamespaceIDMapper
impl Debug for UserNamespaceIDMapper
Auto Trait Implementations§
impl Freeze for UserNamespaceIDMapper
impl RefUnwindSafe for UserNamespaceIDMapper
impl Send for UserNamespaceIDMapper
impl Sync for UserNamespaceIDMapper
impl Unpin for UserNamespaceIDMapper
impl UnwindSafe for UserNamespaceIDMapper
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