pub enum OciNamespaceKind {
Pid,
Network,
Mount,
Ipc,
Uts,
User,
Cgroup,
}Expand description
Linux namespace configuration from the OCI config.
Variants§
Implementations§
Source§impl OciNamespaceKind
impl OciNamespaceKind
Sourcepub fn from_str_kind(s: &str) -> Option<Self>
pub fn from_str_kind(s: &str) -> Option<Self>
Parse from OCI config string.
Trait Implementations§
Source§impl Clone for OciNamespaceKind
impl Clone for OciNamespaceKind
Source§fn clone(&self) -> OciNamespaceKind
fn clone(&self) -> OciNamespaceKind
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OciNamespaceKind
impl Debug for OciNamespaceKind
Source§impl PartialEq for OciNamespaceKind
impl PartialEq for OciNamespaceKind
impl Copy for OciNamespaceKind
impl Eq for OciNamespaceKind
impl StructuralPartialEq for OciNamespaceKind
Auto Trait Implementations§
impl Freeze for OciNamespaceKind
impl RefUnwindSafe for OciNamespaceKind
impl Send for OciNamespaceKind
impl Sync for OciNamespaceKind
impl Unpin for OciNamespaceKind
impl UnwindSafe for OciNamespaceKind
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)