[−][src]Struct sunrise_loader::BOOT_FROM_FS
The filesystem to boot titles from.
Fields
__private_field: ()Methods from Deref<Target = IFileSystemProxy>
pub fn clone_current_object(&self) -> Result<IFileSystemProxy, 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 create_file(
&self,
mode: u32,
size: u64,
path: &[u8; 768]
) -> Result<(), Error>[src]
&self,
mode: u32,
size: u64,
path: &[u8; 768]
) -> Result<(), Error>
Create a file with a given size at the specified path.
pub fn delete_file(&self, path: &[u8; 768]) -> Result<(), Error>[src]
Delete a file at the specified path.
pub fn create_directory(&self, path: &[u8; 768]) -> Result<(), Error>[src]
Create a directory at the specified path.
pub fn delete_directory(&self, path: &[u8; 768]) -> Result<(), Error>[src]
Delete a directory at the specified path.
pub fn rename_file(
&self,
old_path: &[u8; 768],
new_path: &[u8; 768]
) -> Result<(), Error>[src]
&self,
old_path: &[u8; 768],
new_path: &[u8; 768]
) -> Result<(), Error>
Rename a file at old_path into new_path.
pub fn rename_directory(
&self,
old_path: &[u8; 768],
new_path: &[u8; 768]
) -> Result<(), Error>[src]
&self,
old_path: &[u8; 768],
new_path: &[u8; 768]
) -> Result<(), Error>
Rename a directory at old_path into new_path
pub fn get_entry_type(
&self,
path: &[u8; 768]
) -> Result<DirectoryEntryType, Error>[src]
&self,
path: &[u8; 768]
) -> Result<DirectoryEntryType, Error>
Get the informations about an entry on the filesystem.
pub fn open_file(
&self,
mode: u32,
path: &[u8; 768]
) -> Result<IFileProxy, Error>[src]
&self,
mode: u32,
path: &[u8; 768]
) -> Result<IFileProxy, Error>
Open a file at the specified path with the given mode flags.
mode controls how the file is opened, based on which bits are set:
When bit 0 is set, the file is Readable: you can use the Read operation.
When bit 1 is set, the file is Writable: you can use the Write operation.
When bit 2 is set, the file is Appendable: unless this bit is set, you will not be able to write beyond the end of a file (such writes will result in an error 0x307202)
pub fn open_file_as_ipipe(
&self,
mode: u32,
path: &[u8; 768]
) -> Result<IPipeProxy, Error>[src]
&self,
mode: u32,
path: &[u8; 768]
) -> Result<IPipeProxy, Error>
Open a file at the specified path with the given mode flags.
mode controls how the file is opened, based on which bits are set:
When bit 0 is set, the file is Readable: you can use the Read operation.
When bit 1 is set, the file is Writable: you can use the Write operation.
When bit 2 is set, the file is Appendable: unless this bit is set, you will not be able to write beyond the end of a file (such writes will result in an error 0x307202)
pub fn open_directory(
&self,
filter_flags: u32,
path: &[u8; 768]
) -> Result<IDirectoryProxy, Error>[src]
&self,
filter_flags: u32,
path: &[u8; 768]
) -> Result<IDirectoryProxy, Error>
Open a directory at the specified path with the given filter_flags flags.
pub fn get_free_space_size(&self, path: &[u8; 768]) -> Result<u64, Error>[src]
Get the total availaible space on the given filesystem.
pub fn get_total_space_size(&self, path: &[u8; 768]) -> Result<u64, Error>[src]
Get the total size of the filesystem.
pub fn get_file_timestamp_raw(
&self,
path: &[u8; 768]
) -> Result<FileTimeStampRaw, Error>[src]
&self,
path: &[u8; 768]
) -> Result<FileTimeStampRaw, Error>
Return the attached timestamps on a resource at the given path.
pub fn get_filesystem_type(&self) -> Result<FileSystemType, Error>[src]
Get the type of this filesystem.
Trait Implementations
impl Deref for BOOT_FROM_FS[src]
type Target = IFileSystemProxy
The resulting type after dereferencing.
fn deref(&self) -> &IFileSystemProxy[src]
impl LazyStatic for BOOT_FROM_FS[src]
fn initialize(lazy: &Self)[src]
Auto Trait Implementations
impl RefUnwindSafe for BOOT_FROM_FS
impl Send for BOOT_FROM_FS
impl Sync for BOOT_FROM_FS
impl Unpin for BOOT_FROM_FS
impl UnwindSafe for BOOT_FROM_FS
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, 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>,