Skip to main content

Module ext

Module ext 

Source
Expand description

Provides the StorageExt struct for more convenient access.

Storage is provided by the driver, so is supposed to be simple and only contain whatโ€™s necessary. StorageExt builds on that to provide more convenient access, e.g. allows unaligned requests and provides write serialization.

Traitsยง

StorageExt
Helper methods for storage objects.

Functionsยง

is_aligned ๐Ÿ”’
Check whether the given request is aligned.
write_efficient_zeroes ๐Ÿ”’
Write zeroes efficiently to the given area.
write_full_zeroes ๐Ÿ”’
Write zero data to the given area.