pub struct Special(/* private fields */);
Implementations§
Source§impl Special
impl Special
pub const NONE: Self
pub const STICKY: Self
pub const SET_USER_IDENTIFIER: Self
pub const SET_GROUP_IDENTIFIER: Self
pub fn new(sticky: bool, set_gid: bool, set_uid: bool) -> Self
pub fn set_sticky(self, sticky: bool) -> Self
pub fn set_set_group_identifier(self, set_gid: bool) -> Self
pub fn set_set_user_identifier(self, set_uid: bool) -> Self
pub const fn get_sticky(&self) -> bool
pub const fn get_set_group_identifier(&self) -> bool
pub const fn get_set_user_identifier(&self) -> bool
pub const fn to_unix(&self) -> u8
pub fn from_unix(unix: u8) -> Option<Self>
Trait Implementations§
impl Copy for Special
impl Eq for Special
impl StructuralPartialEq for Special
Auto Trait Implementations§
impl Freeze for Special
impl RefUnwindSafe for Special
impl Send for Special
impl Sync for Special
impl Unpin for Special
impl UnwindSafe for Special
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