pub struct MkDirAt { /* private fields */ }
Expand description
Make a directory, equivalent to mkdirat(2)
.
Implementations§
Source§impl MkDirAt
impl MkDirAt
Sourcepub const CODE: u8 = 37u8
pub const CODE: u8 = 37u8
The opcode of the operation. This can be passed to
Probe::is_supported
to check if this operation is
supported with the current kernel.
pub fn new(dirfd: impl UseFd, pathname: *const c_char) -> Self
pub const fn mode(self, mode: mode_t) -> Self
pub fn build(self) -> Entry
Auto Trait Implementations§
impl Freeze for MkDirAt
impl RefUnwindSafe for MkDirAt
impl !Send for MkDirAt
impl !Sync for MkDirAt
impl Unpin for MkDirAt
impl UnwindSafe for MkDirAt
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