[−][src]Trait sunrise_fs::interface::storage::IStorage
This is the interface for a raw device, usually a block device.
Required methods
fn set_size(&mut self, new_size: u64) -> LibUserResult<()>
Set the total size of the storage in bytes.
Implementations on Foreign Types
impl<B> IStorage for StorageBlockDevice<B> where
B: BlockDevice<Error = Error> + Send + Sync,
B::Block: Send + Sync,
[src]
Loading content...
B: BlockDevice<Error = Error> + Send + Sync,
B::Block: Send + Sync,
Implementors
impl IStorage for PartitionStorage
[src]
fn set_size(&mut self, _new_size: u64) -> LibUserResult<()>
[src]
impl<F: FileOperations> IStorage for FileStorage<F>
[src]
fn set_size(&mut self, new_size: u64) -> LibUserResult<()>
[src]
Set the total size of the storage in bytes.