akar-common 0.1.21

Shared types and utilities for the Akar embedded graph database
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# src/gzip_file_system.rs

- GzipFileSystem · struct · L23-L25 — pub struct GzipFileSystem
- new · function · L29-L31 — pub fn new(inner: Box<dyn FileSystem>) -> Self
- can_handle · function · L35-L37 — fn can_handle(&self, path: &str) -> bool
- open_read · function · L39-L43 — fn open_read(&self, path: &str) -> std::io::Result<Box<dyn FileRead>>
- open_write · function · L45-L49 — fn open_write(&self, path: &str) -> std::io::Result<Box<dyn FileWrite>>
- exists · function · L51-L53 — fn exists(&self, path: &str) -> bool
- remove · function · L55-L57 — fn remove(&self, path: &str) -> std::io::Result<()>
- create_dir_all · function · L59-L61 — fn create_dir_all(&self, path: &str) -> std::io::Result<()>
- GzipFileRead · struct · L65-L65 — struct GzipFileRead(GzDecoder<Box<dyn FileRead>>);
- read · function · L68-L70 — fn read(&mut self, buf: &mut [u8]) -> std::io::Result<usize>
- seek · function · L74-L79 — fn seek(&mut self, _pos: std::io::SeekFrom) -> std::io::Result<u64>
- GzipFileWrite · struct · L85-L85 — struct GzipFileWrite(GzEncoder<Box<dyn FileWrite>>);
- write · function · L88-L90 — fn write(&mut self, buf: &[u8]) -> std::io::Result<usize>
- flush · function · L91-L93 — fn flush(&mut self) -> std::io::Result<()>
- seek · function · L97-L102 — fn seek(&mut self, _pos: std::io::SeekFrom) -> std::io::Result<u64>