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§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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)