[][src]Struct mount_api::Fs

pub struct Fs { /* fields omitted */ }

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]

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]

pub fn set_path_empty<P: ?Sized>(
    &self,
    key: &CStr,
    dfd: RawFd,
    path: &P
) -> Result<()> where
    P: NixPath
[src]

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]

Trait Implementations

impl AsRawFd for Fs[src]

impl Drop for Fs[src]

impl FromRawFd for Fs[src]

impl IntoRawFd for Fs[src]

Auto Trait Implementations

impl RefUnwindSafe for Fs

impl Send for Fs

impl Sync for Fs

impl Unpin for Fs

impl UnwindSafe for Fs

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.