pub trait HttpDelete: Sized + HttpMisc {
// Required method
fn delete_meta<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
id: &'life1 EntityId,
api: &'life2 mut RestApi,
em: EditMetadata,
) -> Pin<Box<dyn Future<Output = Result<(), RestApiError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait;
// Provided method
fn delete<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
id: &'life1 EntityId,
api: &'life2 mut RestApi,
) -> Pin<Box<dyn Future<Output = Result<(), RestApiError>> + Send + 'async_trait>>
where Self: Sync + 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait { ... }
}Expand description
A trait implementing a HTTP DELETE operation.
Required Methods§
fn delete_meta<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
id: &'life1 EntityId,
api: &'life2 mut RestApi,
em: EditMetadata,
) -> Pin<Box<dyn Future<Output = Result<(), RestApiError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Provided Methods§
fn delete<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
id: &'life1 EntityId,
api: &'life2 mut RestApi,
) -> Pin<Box<dyn Future<Output = Result<(), RestApiError>> + Send + 'async_trait>>where
Self: Sync + 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
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.