pub struct NewSuperBlock<'a, T: Type + ?Sized, S = NeedsInit> { /* private fields */ }
Expand description

A superblock that is still being initialised.

It uses type states to ensure that callers use the right sequence of calls.

Invariants

The superblock is a newly-created one and this is the only active pointer to it.

Implementations

Initialises the superblock so that it transitions to the NeedsRoot type state.

Initialises the root of the superblock.

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.