pub struct Registration { /* private fields */ }
Expand description

A file system registration.

Implementations

Creates a new file system registration.

It is not visible or accessible yet. A successful call to Registration::register needs to be made before users can mount it.

Registers a file system so that it can be mounted by users.

The file system is described by the Type argument.

It is automatically unregistered when the registration is dropped.

Trait Implementations

Returns the “default value” for a type. Read more

Executes the destructor for this type. Read more

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.

This documentation is an old archive. Please see https://rust.docs.kernel.org instead.