pub(crate) struct Ext4Strate {
pub(crate) _fs: Ext4FileSystem,
}Expand description
EXT4 Strate state
Fields§
§_fs: Ext4FileSystemImplementations§
Source§impl Ext4Strate
impl Ext4Strate
Sourcepub(crate) fn new(fs: Ext4FileSystem) -> Self
pub(crate) fn new(fs: Ext4FileSystem) -> Self
Creates a new instance.
Sourcepub(crate) fn ok_reply(sender: u64) -> IpcMessage
pub(crate) fn ok_reply(sender: u64) -> IpcMessage
Implements ok reply.
Sourcepub(crate) fn err_reply(sender: u64, status: u32) -> IpcMessage
pub(crate) fn err_reply(sender: u64, status: u32) -> IpcMessage
Implements err reply.
pub(crate) fn parse_path<'a>( payload: &'a [u8], len_offset: usize, data_offset: usize, max_len: usize, ) -> Result<&'a str, u32>
Sourcepub(crate) fn handle_open(&mut self, sender: u64, payload: &[u8]) -> IpcMessage
pub(crate) fn handle_open(&mut self, sender: u64, payload: &[u8]) -> IpcMessage
Implements handle open.
Sourcepub(crate) fn handle_read(&mut self, sender: u64, payload: &[u8]) -> IpcMessage
pub(crate) fn handle_read(&mut self, sender: u64, payload: &[u8]) -> IpcMessage
Implements handle read.
Sourcepub(crate) fn handle_write(&mut self, sender: u64, payload: &[u8]) -> IpcMessage
pub(crate) fn handle_write(&mut self, sender: u64, payload: &[u8]) -> IpcMessage
Implements handle write.
Sourcepub(crate) fn handle_close(&mut self, sender: u64, payload: &[u8]) -> IpcMessage
pub(crate) fn handle_close(&mut self, sender: u64, payload: &[u8]) -> IpcMessage
Implements handle close.
Auto Trait Implementations§
impl Freeze for Ext4Strate
impl RefUnwindSafe for Ext4Strate
impl Send for Ext4Strate
impl Sync for Ext4Strate
impl Unpin for Ext4Strate
impl UnsafeUnpin for Ext4Strate
impl UnwindSafe for Ext4Strate
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more