Trait CreateResource

Source
pub trait CreateResource {
    type Response;

    // Required method
    fn create(
        &self,
        data: Value,
    ) -> impl Future<Output = Result<Self::Response>>;
}

Required Associated Types§

Required Methods§

Source

fn create(&self, data: Value) -> 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§