pub trait SimpleApi {
// Required methods
fn simple_get<S: Into<String>>(&self, path: S) -> RequestBuilder;
fn simple_post<S: Into<String>>(&self, path: S) -> RequestBuilder;
fn simple_put<S: Into<String>>(&self, path: S) -> RequestBuilder;
fn simple_delete<S: Into<String>>(&self, path: S) -> RequestBuilder;
}Expand description
You almost certainly don’t want to implement this. Do so at your own risk.
Check crate::Pve for docs.
Required Methods§
fn simple_get<S: Into<String>>(&self, path: S) -> RequestBuilder
fn simple_post<S: Into<String>>(&self, path: S) -> RequestBuilder
fn simple_put<S: Into<String>>(&self, path: S) -> RequestBuilder
fn simple_delete<S: Into<String>>(&self, path: S) -> RequestBuilder
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.