pub struct Fs { /* private fields */ }
Implementations§
Source§impl Fs
impl Fs
pub fn open(fs_name: &CStr, flags: FsopenFlags) -> Result<Self>
pub fn pick<P>(dfd: RawFd, path: &P, flags: FspickFlags) -> Result<Self>
pub fn set_flag(&self, key: &CStr) -> Result<()>
pub fn set_string(&self, key: &CStr, value: &CStr) -> Result<()>
pub fn set_binary(&self, key: &CStr, value: &[u8]) -> Result<()>
pub fn set_path<P>(&self, key: &CStr, dfd: RawFd, path: &P) -> Result<()>
pub fn set_path_empty<P>(&self, key: &CStr, dfd: RawFd, path: &P) -> Result<()>
pub fn set_path_fd(&self, key: &CStr, fd: RawFd) -> Result<()>
pub fn create(&self) -> Result<()>
pub fn reconfigure(&self) -> Result<()>
pub fn mount( &self, flags: FsmountFlags, attr_flags: MountAttrFlags, ) -> Result<Mount>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Fs
impl RefUnwindSafe for Fs
impl Send for Fs
impl Sync for Fs
impl Unpin for Fs
impl UnwindSafe for Fs
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