Skip to main content

CloudApi

Struct CloudApi 

Source
pub struct CloudApi { /* private fields */ }
Expand description

Raw C ABI for GeoKernel.Cloud. Loaded modules remain resident until process exit.

Implementations§

Source§

impl CloudApi

Source

pub const SYMBOLS: &'static [&'static str]

Source

pub unsafe fn load(path: &Path) -> Result<Self, LoadError>

Load a trusted, ABI-compatible GeoKernel runtime module.

§Safety

Library initializers must be safe and every symbol must match this SDK ABI.

Source

pub unsafe fn GeoKernelCloud_CacheStatisticsJson( &self, a0: *mut c_void, a1: *mut WChar, a2: i32, ) -> i32

Native declaration: int GeoKernelCloud_CacheStatisticsJson(void* client, wchar_t* buffer, int bufferLength).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelCloud_ClearCache(&self, a0: *mut c_void) -> i32

Native declaration: int GeoKernelCloud_ClearCache(void* client).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelCloud_CogGdalVirtualPath( &self, a0: *mut c_void, a1: *const WChar, a2: *mut WChar, a3: i32, ) -> i32

Native declaration: int GeoKernelCloud_CogGdalVirtualPath(void* client, const wchar_t* url, wchar_t* buffer, int bufferLength).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelCloud_CogProbeJson( &self, a0: *mut c_void, a1: *const WChar, a2: *const WChar, a3: *mut WChar, a4: i32, ) -> i32

Native declaration: int GeoKernelCloud_CogProbeJson(void* client, const wchar_t* url, const wchar_t* headersJson, wchar_t* buffer, int bufferLength).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelCloud_CreateClient( &self, a0: *const WChar, ) -> *mut c_void

Native declaration: void* GeoKernelCloud_CreateClient(const wchar_t* optionsJson).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelCloud_DestroyClient(&self, a0: *mut c_void)

Native declaration: void GeoKernelCloud_DestroyClient(void* client).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelCloud_GeoParquetGdalVirtualPath( &self, a0: *mut c_void, a1: *const WChar, a2: *mut WChar, a3: i32, ) -> i32

Native declaration: int GeoKernelCloud_GeoParquetGdalVirtualPath(void* client, const wchar_t* url, wchar_t* buffer, int bufferLength).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelCloud_GeoParquetProbeJson( &self, a0: *mut c_void, a1: *const WChar, a2: *const WChar, a3: *mut WChar, a4: i32, ) -> i32

Native declaration: int GeoKernelCloud_GeoParquetProbeJson(void* client, const wchar_t* url, const wchar_t* headersJson, wchar_t* buffer, int bufferLength).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelCloud_LastError(&self, a0: *mut WChar, a1: i32) -> i32

Native declaration: int GeoKernelCloud_LastError(wchar_t* buffer, int bufferLength).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelCloud_PmTilesGdalVirtualPath( &self, a0: *mut c_void, a1: *const WChar, a2: *mut WChar, a3: i32, ) -> i32

Native declaration: int GeoKernelCloud_PmTilesGdalVirtualPath(void* client, const wchar_t* url, wchar_t* buffer, int bufferLength).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelCloud_PmTilesInspectJson( &self, a0: *mut c_void, a1: *const WChar, a2: *const WChar, a3: *mut WChar, a4: i32, ) -> i32

Native declaration: int GeoKernelCloud_PmTilesInspectJson(void* client, const wchar_t* source, const wchar_t* headersJson, wchar_t* buffer, int bufferLength).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelCloud_PmTilesProbeJson( &self, a0: *mut c_void, a1: *const WChar, a2: *const WChar, a3: *mut WChar, a4: i32, ) -> i32

Native declaration: int GeoKernelCloud_PmTilesProbeJson(void* client, const wchar_t* url, const wchar_t* headersJson, wchar_t* buffer, int bufferLength).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelCloud_SetHeadersJson( &self, a0: *mut c_void, a1: *const WChar, ) -> i32

Native declaration: int GeoKernelCloud_SetHeadersJson(void* client, const wchar_t* headersJson).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelCloud_SetTimeout(&self, a0: *mut c_void, a1: i32) -> i32

Native declaration: int GeoKernelCloud_SetTimeout(void* client, int timeoutMilliseconds).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelCloud_StacResolveCogLayerJson( &self, a0: *mut c_void, a1: *const WChar, a2: *const WChar, a3: *const WChar, a4: i32, a5: *mut WChar, a6: i32, ) -> i32

Native declaration: int GeoKernelCloud_StacResolveCogLayerJson(void* client, const wchar_t* catalogUrl, const wchar_t* requestJson, const wchar_t* assetKey, int itemIndex, wchar_t* buffer, int bufferLength).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Source

pub unsafe fn GeoKernelCloud_StacSearchJson( &self, a0: *mut c_void, a1: *const WChar, a2: *const WChar, a3: *mut WChar, a4: i32, ) -> i32

Native declaration: int GeoKernelCloud_StacSearchJson(void* client, const wchar_t* catalogUrl, const wchar_t* requestJson, wchar_t* buffer, int bufferLength).

§Safety

Obey the native pointer, ownership, buffer, thread, and callback contracts.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.