[−][src]Struct sunrise_libuser::fs::IFileSystemServiceProxy
Entry point of the file system interface.
Allows to interract with various filesytem via IPC.
Implementations
impl IFileSystemServiceProxy
[src]
pub fn raw_new() -> Result<IFileSystemServiceProxy, Error>
[src]
Creates a new IFileSystemServiceProxy by connecting to the fsp-srv
service.
pub fn new() -> Result<&'static IFileSystemServiceProxy, Error>
[src]
Acquires the shared handle to the fsp-srv
service - connecting if it wasn't already.
impl IFileSystemServiceProxy
[src]
pub fn clone_current_object(&self) -> Result<Self, Error>
[src]
Clones the current object, returning a new handle. The returned handle has its own IPC buffer - it may be used concurrently with the original.
pub fn open_disk_partition(
&self,
disk_id: DiskId,
partition_id: PartitionId
) -> Result<IFileSystemProxy, Error>
[src]
&self,
disk_id: DiskId,
partition_id: PartitionId
) -> Result<IFileSystemProxy, Error>
Open a disk partition filesystem. This may fail if no compatible driver is found.
pub fn open_disk_storage(&self, disk_id: DiskId) -> Result<IStorageProxy, Error>
[src]
Open a disk as a block device. This may fail if no partition table is found.
pub fn get_disks_count(&self) -> Result<u32, Error>
[src]
Get the count of disks availaible.
pub fn format_disk_partition(
&self,
disk_id: DiskId,
partition_id: PartitionId,
filesystem_type: FileSystemType
) -> Result<(), Error>
[src]
&self,
disk_id: DiskId,
partition_id: PartitionId,
filesystem_type: FileSystemType
) -> Result<(), Error>
Format a disk partition to the given filesystem type.
pub fn initialize_disk(&self, disk_id: DiskId) -> Result<(), Error>
[src]
Initialize a disk partition table
Trait Implementations
impl Debug for IFileSystemServiceProxy
[src]
impl From<ClientSession> for IFileSystemServiceProxy
[src]
fn from(sess: ClientSession) -> IFileSystemServiceProxy
[src]
impl From<IFileSystemServiceProxy> for ClientSession
[src]
fn from(sess: IFileSystemServiceProxy) -> ClientSession
[src]
Auto Trait Implementations
impl RefUnwindSafe for IFileSystemServiceProxy
impl Send for IFileSystemServiceProxy
impl Sync for IFileSystemServiceProxy
impl Unpin for IFileSystemServiceProxy
impl UnwindSafe for IFileSystemServiceProxy
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(usize, usize) -> bool
[src]
unsafe fn from_raw_parts<'a>(usize, usize) -> &'a T
[src]
unsafe fn from_raw_parts_mut<'a>(usize, usize) -> &'a 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>,