Trait DeleteResource

Source
pub trait DeleteResource {
    type Response;

    // Required method
    fn delete_by_id<T: Into<String>>(
        &self,
        id: T,
    ) -> impl Future<Output = Result<Self::Response>>;
}

Required Associated Types§

Required Methods§

Source

fn delete_by_id<T: Into<String>>( &self, id: T, ) -> impl Future<Output = Result<Self::Response>>

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.

Implementors§