pub struct Server<F: FileSystem + Sync> { /* private fields */ }
Expand description

Fuse Server to handle requests from the Fuse client and vhost user master.

Implementations§

Main entrance to handle requests from the transport layer.

It receives Fuse requests from transport layers, parses the request according to Fuse ABI, invokes filesystem drivers to server the requests, and eventually send back the result to the transport layer.

Safety

The async io framework borrows underlying buffers from Reader and Writer, so the caller must ensure all data buffers managed by the Reader and Writer are valid until the Future object returned has completed. Other subsystems, such as the transport layer, rely on the invariant.

Main entrance to handle requests from the transport layer.

It receives Fuse requests from transport layers, parses the request according to Fuse ABI, invokes filesystem drivers to server the requests, and eventually send back the result to the transport layer.

Create a Server instance from a filesystem driver object.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.