pub trait BlockWrite: DerefMut<Target = <Self::File as File>::Block> + Send {
    type File: File;

    fn downgrade(self) -> <Self::File as File>::BlockReadExclusive;
}
Expand description

A write lock on a block

Required Associated Types§

The type of File that this block is part of

Required Methods§

Implementors§