Impl IO trait for VfsMod type

This commit is contained in:
PThorpe92 2025-03-06 15:24:07 -05:00
parent 7d18b6b8b0
commit 8d3c44cf00
No known key found for this signature in database
GPG key ID: 66DB3FBACBDD05CC
3 changed files with 165 additions and 0 deletions

View file

@ -90,6 +90,8 @@ pub struct VfsFileImpl {
pub file: *const c_void,
pub vfs: *const VfsImpl,
}
unsafe impl Send for VfsFileImpl {}
unsafe impl Sync for VfsFileImpl {}
impl VfsFileImpl {
pub fn new(file: *const c_void, vfs: *const VfsImpl) -> ExtResult<Self> {