mirror of
https://github.com/aljazceru/turso.git
synced 2026-01-26 03:14:23 +01:00
Impl IO trait for VfsMod type
This commit is contained in:
@@ -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> {
|
||||
|
||||
Reference in New Issue
Block a user