Struct unshare::GidMap[][src]

pub struct GidMap {
    pub inside_gid: gid_t,
    pub outside_gid: gid_t,
    pub count: gid_t,
}

Entry (row) in the gid map

Fields

inside_gid: gid_t

First gid inside the guest namespace

outside_gid: gid_t

First gid in external (host) namespace

count: gid_t

Number of gids that this entry allows starting from inside/outside gid

Trait Implementations

impl Clone for GidMap[src]

impl Copy for GidMap[src]

impl Debug for GidMap[src]

impl Eq for GidMap[src]

impl PartialEq<GidMap> for GidMap[src]

impl StructuralEq for GidMap[src]

impl StructuralPartialEq for GidMap[src]

Auto Trait Implementations

impl RefUnwindSafe for GidMap

impl Send for GidMap

impl Sync for GidMap

impl Unpin for GidMap

impl UnwindSafe for GidMap

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.