Struct oci_spec::runtime::LinuxPersonality
source · pub struct LinuxPersonality { /* private fields */ }
Expand description
LinuxPersonality represents the Linux personality syscall input.
Implementations§
source§impl LinuxPersonality
impl LinuxPersonality
sourcepub fn domain(&self) -> LinuxPersonalityDomain
pub fn domain(&self) -> LinuxPersonalityDomain
Domain for the personality.
source§impl LinuxPersonality
impl LinuxPersonality
sourcepub fn set_domain(&mut self, val: LinuxPersonalityDomain) -> &mut Self
pub fn set_domain(&mut self, val: LinuxPersonalityDomain) -> &mut Self
Domain for the personality.
Trait Implementations§
source§impl Clone for LinuxPersonality
impl Clone for LinuxPersonality
source§fn clone(&self) -> LinuxPersonality
fn clone(&self) -> LinuxPersonality
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 LinuxPersonality
impl Debug for LinuxPersonality
source§impl Default for LinuxPersonality
impl Default for LinuxPersonality
source§fn default() -> LinuxPersonality
fn default() -> LinuxPersonality
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for LinuxPersonality
impl<'de> Deserialize<'de> for LinuxPersonality
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for LinuxPersonality
impl PartialEq for LinuxPersonality
source§fn eq(&self, other: &LinuxPersonality) -> bool
fn eq(&self, other: &LinuxPersonality) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for LinuxPersonality
impl Serialize for LinuxPersonality
impl Eq for LinuxPersonality
impl StructuralPartialEq for LinuxPersonality
Auto Trait Implementations§
impl Freeze for LinuxPersonality
impl RefUnwindSafe for LinuxPersonality
impl Send for LinuxPersonality
impl Sync for LinuxPersonality
impl Unpin for LinuxPersonality
impl UnwindSafe for LinuxPersonality
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)