pub struct LinuxPersonality {
pub domain: Option<String>,
pub flags: Option<Vec<String>>,
}
Expand description
LinuxPersonality represents the Linux personality syscall input
Fields§
§domain: Option<String>
§flags: Option<Vec<String>>
Additional flags
Trait Implementations§
Source§impl Clone for LinuxPersonality
impl Clone for LinuxPersonality
Source§fn clone(&self) -> LinuxPersonality
fn clone(&self) -> LinuxPersonality
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for LinuxPersonality
impl Debug for LinuxPersonality
Source§impl<'de> Deserialize<'de> for LinuxPersonality
impl<'de> Deserialize<'de> for LinuxPersonality
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<LinuxPersonality, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<LinuxPersonality, <__D as Deserializer<'de>>::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
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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