Struct gdal_sys::VSIFilesystemPluginCallbacksStruct [−][src]
#[repr(C)]pub struct VSIFilesystemPluginCallbacksStruct {}Show fields
pub pUserData: *mut c_void, pub stat: VSIFilesystemPluginStatCallback, pub unlink: VSIFilesystemPluginUnlinkCallback, pub rename: VSIFilesystemPluginRenameCallback, pub mkdir: VSIFilesystemPluginMkdirCallback, pub rmdir: VSIFilesystemPluginRmdirCallback, pub read_dir: VSIFilesystemPluginReadDirCallback, pub open: VSIFilesystemPluginOpenCallback, pub tell: VSIFilesystemPluginTellCallback, pub seek: VSIFilesystemPluginSeekCallback, pub read: VSIFilesystemPluginReadCallback, pub read_multi_range: VSIFilesystemPluginReadMultiRangeCallback, pub get_range_status: VSIFilesystemPluginGetRangeStatusCallback, pub eof: VSIFilesystemPluginEofCallback, pub write: VSIFilesystemPluginWriteCallback, pub flush: VSIFilesystemPluginFlushCallback, pub truncate: VSIFilesystemPluginTruncateCallback, pub close: VSIFilesystemPluginCloseCallback, pub nBufferSize: size_t, pub nCacheSize: size_t, pub sibling_files: VSIFilesystemPluginSiblingFilesCallback,
struct containing callbacks to used by the handler. (rw), (r), (w) or () at the end indicate whether the given callback is mandatory for reading and or writing handlers. A (?) indicates that the callback might be mandatory for certain drivers only. @since GDAL 3.0
Fields
pUserData: *mut c_void
Optional opaque pointer passed back to filemanager callbacks (e.g. open, stat, rmdir)
stat: VSIFilesystemPluginStatCallback
< stat handle by name (rw)
unlink: VSIFilesystemPluginUnlinkCallback
< unlink handle by name ()
rename: VSIFilesystemPluginRenameCallback
< rename handle ()
mkdir: VSIFilesystemPluginMkdirCallback
< make directory ()
rmdir: VSIFilesystemPluginRmdirCallback
< remove directory ()
read_dir: VSIFilesystemPluginReadDirCallback
< list directory content (r?)
open: VSIFilesystemPluginOpenCallback
< open handle by name (rw)
tell: VSIFilesystemPluginTellCallback
< get current position of handle (rw)
seek: VSIFilesystemPluginSeekCallback
< set current position of handle (rw)
read: VSIFilesystemPluginReadCallback
< read from current position (r)
read_multi_range: VSIFilesystemPluginReadMultiRangeCallback
< read multiple blocks ()
get_range_status: VSIFilesystemPluginGetRangeStatusCallback
< get range status ()
eof: VSIFilesystemPluginEofCallback
< has end of file been reached (r?)
write: VSIFilesystemPluginWriteCallback
< write bytes to current position (w)
flush: VSIFilesystemPluginFlushCallback
< sync bytes (w)
truncate: VSIFilesystemPluginTruncateCallback
< truncate handle (w?)
close: VSIFilesystemPluginCloseCallback
< close handle (rw)
nBufferSize: size_t
< buffer small reads (makes handler read only)
nCacheSize: size_t
< max mem to use per file when buffering
sibling_files: VSIFilesystemPluginSiblingFilesCallback
< list related files
Trait Implementations
impl Clone for VSIFilesystemPluginCallbacksStruct
[src]
impl Clone for VSIFilesystemPluginCallbacksStruct
[src]fn clone(&self) -> VSIFilesystemPluginCallbacksStruct
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
Auto Trait Implementations
impl !Send for VSIFilesystemPluginCallbacksStruct
impl !Send for VSIFilesystemPluginCallbacksStruct
impl !Sync for VSIFilesystemPluginCallbacksStruct
impl !Sync for VSIFilesystemPluginCallbacksStruct
impl Unpin for VSIFilesystemPluginCallbacksStruct
impl Unpin for VSIFilesystemPluginCallbacksStruct