Struct clevercloud_sdk::Client [−][src]
Fields
inner: Clientendpoint: StringImplementations
Trait Implementations
Performs the conversion.
type Error = ClientError
fn request<'life0, 'life1, 'life2, 'life3, 'async_trait, T, U>(
&'life0 self,
method: &'life1 Method,
endpoint: &'life2 str,
payload: &'life3 T
) -> Pin<Box<dyn Future<Output = Result<U, Self::Error>> + Send + 'async_trait>> where
T: Serialize + Debug + Send + Sync,
U: DeserializeOwned + Debug + Send + Sync,
T: 'async_trait,
U: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Self: 'async_trait,
type Error = ClientError
fn get<'life0, 'life1, 'async_trait, T>(
&'life0 self,
endpoint: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<T, Self::Error>> + Send + 'async_trait>> where
T: DeserializeOwned + Debug + Send + Sync,
T: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn post<'life0, 'life1, 'life2, 'async_trait, T, U>(
&'life0 self,
endpoint: &'life1 str,
payload: &'life2 T
) -> Pin<Box<dyn Future<Output = Result<U, Self::Error>> + Send + 'async_trait>> where
T: Serialize + Debug + Send + Sync,
U: DeserializeOwned + Debug + Send + Sync,
T: 'async_trait,
U: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
fn put<'life0, 'life1, 'life2, 'async_trait, T, U>(
&'life0 self,
endpoint: &'life1 str,
payload: &'life2 T
) -> Pin<Box<dyn Future<Output = Result<U, Self::Error>> + Send + 'async_trait>> where
T: Serialize + Debug + Send + Sync,
U: DeserializeOwned + Debug + Send + Sync,
T: 'async_trait,
U: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
fn patch<'life0, 'life1, 'life2, 'async_trait, T, U>(
&'life0 self,
endpoint: &'life1 str,
payload: &'life2 T
) -> Pin<Box<dyn Future<Output = Result<U, Self::Error>> + Send + 'async_trait>> where
T: Serialize + Debug + Send + Sync,
U: DeserializeOwned + Debug + Send + Sync,
T: 'async_trait,
U: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
Auto Trait Implementations
impl !RefUnwindSafe for Client
impl !UnwindSafe for Client
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more