[][src]Struct fuse::os::linux::FuseServerBuilder

pub struct FuseServerBuilder<Mount, Handlers, Hooks> { /* fields omitted */ }
This is supported on Linux and feature="std" only.

Implementations

impl<Handlers> FuseServerBuilder<(), Handlers, NoopServerHooks>[src]

pub fn new(
    mount_target: impl AsRef<Path>,
    handlers: Handlers
) -> FuseServerBuilder<(), Handlers, NoopServerHooks>
[src]

This is supported on Linux only.

impl<Mount, Handlers, Hooks> FuseServerBuilder<Mount, Handlers, Hooks>[src]

pub fn set_hooks<H>(self, hooks: H) -> FuseServerBuilder<Mount, Handlers, H>[src]

This is supported on Linux only.

pub fn set_mount<M>(self, mount: M) -> FuseServerBuilder<M, Handlers, Hooks>[src]

This is supported on Linux only.

impl<M, Handlers, Hooks> FuseServerBuilder<M, Handlers, Hooks> where
    M: FuseMount,
    Handlers: FuseHandlers,
    Hooks: ServerHooks
[src]

pub fn build(
    self
) -> Result<FuseServer<M::Channel, Handlers, Hooks>, <<M as FuseMount>::Channel as Channel>::Error>
[src]

This is supported on Linux only.

Auto Trait Implementations

impl<Mount, Handlers, Hooks> RefUnwindSafe for FuseServerBuilder<Mount, Handlers, Hooks> where
    Handlers: RefUnwindSafe,
    Hooks: RefUnwindSafe,
    Mount: RefUnwindSafe

impl<Mount, Handlers, Hooks> Send for FuseServerBuilder<Mount, Handlers, Hooks> where
    Handlers: Send,
    Hooks: Send,
    Mount: Send

impl<Mount, Handlers, Hooks> Sync for FuseServerBuilder<Mount, Handlers, Hooks> where
    Handlers: Sync,
    Hooks: Sync,
    Mount: Sync

impl<Mount, Handlers, Hooks> Unpin for FuseServerBuilder<Mount, Handlers, Hooks> where
    Handlers: Unpin,
    Hooks: Unpin,
    Mount: Unpin

impl<Mount, Handlers, Hooks> UnwindSafe for FuseServerBuilder<Mount, Handlers, Hooks> where
    Handlers: UnwindSafe,
    Hooks: UnwindSafe,
    Mount: UnwindSafe

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.