[−][src]Struct mount_api::Fs
Implementations
impl Fs[src]
pub fn open(fs_name: &CStr, flags: FsopenFlags) -> Result<Self>[src]
pub fn pick<P: ?Sized>(dfd: RawFd, path: &P, flags: FspickFlags) -> Result<Self> where
P: NixPath, [src]
P: NixPath,
pub fn set_flag(&self, key: &CStr) -> Result<()>[src]
pub fn set_string(&self, key: &CStr, value: &CStr) -> Result<()>[src]
pub fn set_binary(&self, key: &CStr, value: &[u8]) -> Result<()>[src]
pub fn set_path<P: ?Sized>(
&self,
key: &CStr,
dfd: RawFd,
path: &P
) -> Result<()> where
P: NixPath, [src]
&self,
key: &CStr,
dfd: RawFd,
path: &P
) -> Result<()> where
P: NixPath,
pub fn set_path_empty<P: ?Sized>(
&self,
key: &CStr,
dfd: RawFd,
path: &P
) -> Result<()> where
P: NixPath, [src]
&self,
key: &CStr,
dfd: RawFd,
path: &P
) -> Result<()> where
P: NixPath,
pub fn set_path_fd(&self, key: &CStr, fd: RawFd) -> Result<()>[src]
pub fn create(&self) -> Result<()>[src]
pub fn reconfigure(&self) -> Result<()>[src]
pub fn mount(
&self,
flags: FsmountFlags,
attr_flags: MountAttrFlags
) -> Result<Mount>[src]
&self,
flags: FsmountFlags,
attr_flags: MountAttrFlags
) -> Result<Mount>
Trait Implementations
impl AsRawFd for Fs[src]
impl Drop for Fs[src]
impl FromRawFd for Fs[src]
unsafe fn from_raw_fd(fs_fd: RawFd) -> Self[src]
impl IntoRawFd for Fs[src]
fn into_raw_fd(self) -> RawFd[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,