Struct gdal_sys::VSIFilesystemPluginCallbacksStruct[][src]

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 Copy for VSIFilesystemPluginCallbacksStruct[src]

impl Debug for VSIFilesystemPluginCallbacksStruct[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.