pub struct CreateParam {
pub parent: INum,
pub name: String,
pub mode: u32,
pub rdev: u32,
pub uid: u32,
pub gid: u32,
pub node_type: SFlag,
pub link: Option<PathBuf>,
}Expand description
Create parameters
Fields§
§parent: INumParent directory i-number
name: StringFile name
mode: u32File mode
rdev: u32File flags
uid: u32User ID
gid: u32Group ID
node_type: SFlagType
link: Option<PathBuf>For symlink
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CreateParam
impl RefUnwindSafe for CreateParam
impl Send for CreateParam
impl Sync for CreateParam
impl Unpin for CreateParam
impl UnwindSafe for CreateParam
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