pulumi_gestalt_rust

Trait GestaltContext

Source
pub trait GestaltContext {
    type Output<T>;
    type CompositeOutput;

    // Required methods
    fn new_output<T>(&self, value: &T) -> Self::Output<T>
       where T: Serialize;
    fn new_secret<T>(&self, value: &T) -> Self::Output<T>
       where T: Serialize;
    fn register_resource(
        &self,
        request: RegisterResourceRequest<'_, Self::Output<()>>,
    ) -> Self::CompositeOutput;
    fn invoke_resource(
        &self,
        request: InvokeResourceRequest<'_, Self::Output<()>>,
    ) -> Self::CompositeOutput;
}

Required Associated Types§

Required Methods§

Source

fn new_output<T>(&self, value: &T) -> Self::Output<T>
where T: Serialize,

Source

fn new_secret<T>(&self, value: &T) -> Self::Output<T>
where T: Serialize,

Source

fn register_resource( &self, request: RegisterResourceRequest<'_, Self::Output<()>>, ) -> Self::CompositeOutput

Source

fn invoke_resource( &self, request: InvokeResourceRequest<'_, Self::Output<()>>, ) -> Self::CompositeOutput

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.

Implementations on Foreign Types§

Source§

impl GestaltContext for WasmContext

Implementors§