pub trait Type {
type Context: Context<Self> + ?Sized;
type Data: PointerWrapper + Send + Sync = ();
const SUPER_TYPE: Super;
const NAME: &'static CStr;
const FLAGS: i32;
fn fill_super(
data: <Self::Context as Context<Self>>::Data,
sb: NewSuperBlock<'_, Self>
) -> Result<&SuperBlock<Self>>;
}
Expand description
A file system type.
Required Associated Types
Provided Associated Types
Required Associated Constants
const SUPER_TYPE: Super
const SUPER_TYPE: Super
Determines how superblocks for this file system type are keyed.
Required Methods
fn fill_super(
data: <Self::Context as Context<Self>>::Data,
sb: NewSuperBlock<'_, Self>
) -> Result<&SuperBlock<Self>>
fn fill_super(
data: <Self::Context as Context<Self>>::Data,
sb: NewSuperBlock<'_, Self>
) -> Result<&SuperBlock<Self>>
Initialises a super block for this file system type.