[−][src]Struct sunrise_fs::detail::FileSystemProxy
Entry point of the file system interface.
Allows to interract with various filesytem.
Implementations
impl FileSystemProxy
[src]
pub fn open_disk_partition(
&mut self,
disk_id: DiskId,
partition_id: PartitionId
) -> LibUserResult<Arc<Mutex<Box<dyn FileSystemOperations>>>>
[src]
&mut self,
disk_id: DiskId,
partition_id: PartitionId
) -> LibUserResult<Arc<Mutex<Box<dyn FileSystemOperations>>>>
Open a disk partition filesystem. This may fail if no compatible driver i
pub fn open_disk_storage(
&mut self,
disk_id: DiskId
) -> LibUserResult<Arc<Mutex<Box<dyn IStorage<Error = Error>>>>>
[src]
&mut self,
disk_id: DiskId
) -> LibUserResult<Arc<Mutex<Box<dyn IStorage<Error = Error>>>>>
Open a disk as a block device. This may fail if no partition table is found.
pub fn get_disks_count(&mut self) -> LibUserResult<u32>
[src]
Get the count of disks availaible.
pub fn format_disk_partition(
&mut self,
disk_id: DiskId,
partition_id: PartitionId,
filesytem_type: FileSystemType
) -> LibUserResult<()>
[src]
&mut self,
disk_id: DiskId,
partition_id: PartitionId,
filesytem_type: FileSystemType
) -> LibUserResult<()>
Format a disk partition to the given filesystem type.
pub fn initialize_disk(&mut self, disk_id: DiskId) -> LibUserResult<()>
[src]
Initialize a disk partition table
Trait Implementations
impl Clone for FileSystemProxy
[src]
fn clone(&self) -> FileSystemProxy
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for FileSystemProxy
[src]
impl Default for FileSystemProxy
[src]
fn default() -> FileSystemProxy
[src]
Auto Trait Implementations
impl RefUnwindSafe for FileSystemProxy
impl Send for FileSystemProxy
impl Sync for FileSystemProxy
impl Unpin for FileSystemProxy
impl UnwindSafe for FileSystemProxy
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> SizedIPCBuffer for T
[src]
fn size(&self) -> usize
[src]
fn is_cool(addr: usize, size: usize) -> bool
[src]
unsafe fn from_raw_parts<'a>(addr: usize, _size: usize) -> &'a T
[src]
unsafe fn from_raw_parts_mut<'a>(addr: usize, _size: usize) -> &'a mut T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,