Struct Output
pub struct Output<T> { /* private fields */ }Implementations§
§impl<T> Output<T>
impl<T> Output<T>
pub fn drop_type(self) -> Output<T>
pub fn new_nothing() -> Output<T>
pub fn new(value: T) -> Output<T>
pub fn new_secret(value: T) -> Output<T>
pub fn secret(&self) -> Output<T>
pub fn unsecret(&self) -> Output<T>
pub fn from_resolved_future( future: impl Future<Output = ResolvedOutput<T>> + Send + 'static, ) -> Output<T>
pub async fn resolve(&self) -> ResolvedOutput<T>where
T: Clone,
pub fn map<T2, F>(&self, f: F) -> Output<T2>
pub fn and_then<T2, F>(&self, f: F) -> Output<T2>
Trait Implementations§
§impl<T> FromPulumiValue for Output<T>
impl<T> FromPulumiValue for Output<T>
fn from_pulumi_value(value: &PulumiValue) -> Result<Output<T>, Report>
§impl<T> ToPulumiValue for Output<T>
impl<T> ToPulumiValue for Output<T>
fn to_pulumi_value(&self) -> impl Future<Output = PulumiValue> + Send
Auto Trait Implementations§
impl<T> Freeze for Output<T>
impl<T> !RefUnwindSafe for Output<T>
impl<T> Send for Output<T>
impl<T> Sync for Output<T>
impl<T> Unpin for Output<T>
impl<T> UnsafeUnpin for Output<T>
impl<T> !UnwindSafe for Output<T>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Applies the layer to a service and wraps it in [
Layered].