Struct unshare::UidMap[][src]

pub struct UidMap {
    pub inside_uid: uid_t,
    pub outside_uid: uid_t,
    pub count: uid_t,
}

Entry (row) in the uid map

Fields

inside_uid: uid_t

First uid inside the guest namespace

outside_uid: uid_t

First uid in external (host) namespace

count: uid_t

Number of uids that this entry allows starting from inside/outside uid

Trait Implementations

impl Clone for UidMap[src]

impl Copy for UidMap[src]

impl Debug for UidMap[src]

impl Eq for UidMap[src]

impl PartialEq<UidMap> for UidMap[src]

impl StructuralEq for UidMap[src]

impl StructuralPartialEq for UidMap[src]

Auto Trait Implementations

impl RefUnwindSafe for UidMap

impl Send for UidMap

impl Sync for UidMap

impl Unpin for UidMap

impl UnwindSafe for UidMap

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.