Enum UnlinkatFlags

enum UnlinkatFlags

Flags for unlinkat function.

Variants

RemoveDir

Remove the directory entry as a directory, not a normal file

NoRemoveDir

Remove the directory entry as a normal file, not a directory

Implementations

impl Clone for UnlinkatFlags

fn clone(self: &Self) -> UnlinkatFlags

impl Copy for UnlinkatFlags

impl Debug for UnlinkatFlags

fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result

impl Freeze for UnlinkatFlags

impl RefUnwindSafe for UnlinkatFlags

impl Send for UnlinkatFlags

impl Sync for UnlinkatFlags

impl Unpin for UnlinkatFlags

impl UnsafeUnpin for UnlinkatFlags

impl UnwindSafe for UnlinkatFlags

impl<T> Any for UnlinkatFlags

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for UnlinkatFlags

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for UnlinkatFlags

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> CloneToUninit for UnlinkatFlags

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl<T> From for UnlinkatFlags

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for UnlinkatFlags

fn to_owned(self: &Self) -> T
fn clone_into(self: &Self, target: &mut T)

impl<T, U> Into for UnlinkatFlags

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for UnlinkatFlags

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for UnlinkatFlags

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>