pub struct TestFile { /* private fields */ }Trait Implementations§
Source§impl VfsFile for TestFile
impl VfsFile for TestFile
fn read(&mut self, buf: &mut [u8], count: usize, offset: i64) -> ExtResult<i32>
fn write(&mut self, buf: &[u8], count: usize, offset: i64) -> ExtResult<i32>
fn sync(&self) -> ExtResult<()>
fn size(&self) -> i64
fn lock(&mut self, _exclusive: bool) -> Result<(), ResultCode>
fn unlock(&self) -> Result<(), ResultCode>
Auto Trait Implementations§
impl Freeze for TestFile
impl RefUnwindSafe for TestFile
impl Send for TestFile
impl Sync for TestFile
impl Unpin for TestFile
impl UnwindSafe for TestFile
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