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§
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
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.