[−][src]Struct sunrise_fs::ipc::FileSystem
Represent a filesystem in the IPC.
Fields
inner: Arc<Mutex<Box<dyn FileSystemOperations>>>The detail implementation of this ipc interface.
Implementations
impl FileSystem[src]
pub fn new(inner: Arc<Mutex<Box<dyn FileSystemOperations>>>) -> Self[src]
Create a new FileSystem instance from it's detail.
Trait Implementations
impl Clone for FileSystem[src]
fn clone(&self) -> FileSystem[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for FileSystem[src]
impl IFileSystem for FileSystem[src]
fn create_file(
&mut self,
_manager: WorkQueue<'static>,
_mode: u32,
size: u64,
path: &FileSystemPath
) -> Result<(), Error>[src]
&mut self,
_manager: WorkQueue<'static>,
_mode: u32,
size: u64,
path: &FileSystemPath
) -> Result<(), Error>
fn delete_file(
&mut self,
_manager: WorkQueue<'static>,
path: &FileSystemPath
) -> Result<(), Error>[src]
&mut self,
_manager: WorkQueue<'static>,
path: &FileSystemPath
) -> Result<(), Error>
fn create_directory(
&mut self,
_manager: WorkQueue<'static>,
path: &FileSystemPath
) -> Result<(), Error>[src]
&mut self,
_manager: WorkQueue<'static>,
path: &FileSystemPath
) -> Result<(), Error>
fn delete_directory(
&mut self,
_manager: WorkQueue<'static>,
path: &FileSystemPath
) -> Result<(), Error>[src]
&mut self,
_manager: WorkQueue<'static>,
path: &FileSystemPath
) -> Result<(), Error>
fn rename_file(
&mut self,
_manager: WorkQueue<'static>,
old_path: &FileSystemPath,
new_path: &FileSystemPath
) -> Result<(), Error>[src]
&mut self,
_manager: WorkQueue<'static>,
old_path: &FileSystemPath,
new_path: &FileSystemPath
) -> Result<(), Error>
fn rename_directory(
&mut self,
_manager: WorkQueue<'static>,
old_path: &FileSystemPath,
new_path: &FileSystemPath
) -> Result<(), Error>[src]
&mut self,
_manager: WorkQueue<'static>,
old_path: &FileSystemPath,
new_path: &FileSystemPath
) -> Result<(), Error>
fn open_file(
&mut self,
manager: WorkQueue<'static>,
mode: u32,
path: &FileSystemPath
) -> Result<IFileProxy, Error>[src]
&mut self,
manager: WorkQueue<'static>,
mode: u32,
path: &FileSystemPath
) -> Result<IFileProxy, Error>
fn open_file_as_ipipe(
&mut self,
manager: WorkQueue<'static>,
mode: u32,
path: &FileSystemPath
) -> Result<IPipeProxy, Error>[src]
&mut self,
manager: WorkQueue<'static>,
mode: u32,
path: &FileSystemPath
) -> Result<IPipeProxy, Error>
fn open_directory(
&mut self,
manager: WorkQueue<'static>,
filter_flags: u32,
path: &FileSystemPath
) -> Result<IDirectoryProxy, Error>[src]
&mut self,
manager: WorkQueue<'static>,
filter_flags: u32,
path: &FileSystemPath
) -> Result<IDirectoryProxy, Error>
fn get_free_space_size(
&mut self,
_manager: WorkQueue<'static>,
path: &FileSystemPath
) -> Result<u64, Error>[src]
&mut self,
_manager: WorkQueue<'static>,
path: &FileSystemPath
) -> Result<u64, Error>
fn get_total_space_size(
&mut self,
_manager: WorkQueue<'static>,
path: &FileSystemPath
) -> Result<u64, Error>[src]
&mut self,
_manager: WorkQueue<'static>,
path: &FileSystemPath
) -> Result<u64, Error>
fn get_file_timestamp_raw(
&mut self,
_manager: WorkQueue<'static>,
path: &FileSystemPath
) -> Result<FileTimeStampRaw, Error>[src]
&mut self,
_manager: WorkQueue<'static>,
path: &FileSystemPath
) -> Result<FileTimeStampRaw, Error>
fn get_entry_type(
&mut self,
_manager: WorkQueue<'static>,
path: &FileSystemPath
) -> Result<DirectoryEntryType, Error>[src]
&mut self,
_manager: WorkQueue<'static>,
path: &FileSystemPath
) -> Result<DirectoryEntryType, Error>
fn get_filesystem_type(
&mut self,
_manager: WorkQueue<'static>
) -> Result<FileSystemType, Error>[src]
&mut self,
_manager: WorkQueue<'static>
) -> Result<FileSystemType, Error>
fn dispatch(
&'a mut self,
manager: WorkQueue<'static>,
cmdid: u32,
buf: &'a mut [u8]
) -> FutureObj<'a, Result<(), Error>>[src]
&'a mut self,
manager: WorkQueue<'static>,
cmdid: u32,
buf: &'a mut [u8]
) -> FutureObj<'a, Result<(), Error>>
Auto Trait Implementations
impl !RefUnwindSafe for FileSystem
impl Send for FileSystem
impl Sync for FileSystem
impl Unpin for FileSystem
impl !UnwindSafe for FileSystem
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>,