pub struct IdMap<T> {
pub container_id: T,
pub host_id: T,
pub size: u32,
}Expand description
Represents mapping for IDs from host namespace to container namespace.
Fields§
§container_id: TFirst ID in container namespace.
host_id: TFirst ID in host namespace.
size: u32Amount of mapped IDs.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for IdMap<T>where
T: Freeze,
impl<T> RefUnwindSafe for IdMap<T>where
T: RefUnwindSafe,
impl<T> Send for IdMap<T>where
T: Send,
impl<T> Sync for IdMap<T>where
T: Sync,
impl<T> Unpin for IdMap<T>where
T: Unpin,
impl<T> UnwindSafe for IdMap<T>where
T: UnwindSafe,
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