pub struct LinuxPersonality {
pub domain: Option<String>,
pub flags: Option<Vec<String>>,
}
Expand description
LinuxPersonality : LinuxPersonality represents the Linux personality syscall input
Fields§
§domain: Option<String>
§flags: Option<Vec<String>>
Additional flags
Implementations§
Source§impl LinuxPersonality
impl LinuxPersonality
Sourcepub fn new() -> LinuxPersonality
pub fn new() -> LinuxPersonality
LinuxPersonality represents the Linux personality syscall input
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 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