pub trait AsHttpHandler {
// Required method
fn as_http_ptr(&self) -> *mut c_void;
}Expand description
Anything that can be handed to C++ as an interfaces::HttpHandler*.
Implemented for both the trampoline wrapper (your own Rust
implementation) and the library’s built-in client, so either can drive
Storage::open_online.
Required Methods§
Sourcefn as_http_ptr(&self) -> *mut c_void
fn as_http_ptr(&self) -> *mut c_void
The raw interfaces::HttpHandler* this value stands for.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".