pub struct TriggerFactorsRuntimeConfig {
pub wasi: Option<<WasiFactor as Factor>::RuntimeConfig>,
pub variables: Option<<VariablesFactor as Factor>::RuntimeConfig>,
pub key_value: Option<<KeyValueFactor as Factor>::RuntimeConfig>,
pub outbound_networking: Option<<OutboundNetworkingFactor as Factor>::RuntimeConfig>,
pub outbound_http: Option<<OutboundHttpFactor as Factor>::RuntimeConfig>,
pub sqlite: Option<<SqliteFactor as Factor>::RuntimeConfig>,
pub redis: Option<<OutboundRedisFactor as Factor>::RuntimeConfig>,
pub mqtt: Option<<OutboundMqttFactor as Factor>::RuntimeConfig>,
pub pg: Option<<OutboundPgFactor as Factor>::RuntimeConfig>,
pub mysql: Option<<OutboundMysqlFactor as Factor>::RuntimeConfig>,
pub llm: Option<<LlmFactor as Factor>::RuntimeConfig>,
}
Fields§
§wasi: Option<<WasiFactor as Factor>::RuntimeConfig>
§variables: Option<<VariablesFactor as Factor>::RuntimeConfig>
§key_value: Option<<KeyValueFactor as Factor>::RuntimeConfig>
§outbound_networking: Option<<OutboundNetworkingFactor as Factor>::RuntimeConfig>
§outbound_http: Option<<OutboundHttpFactor as Factor>::RuntimeConfig>
§sqlite: Option<<SqliteFactor as Factor>::RuntimeConfig>
§redis: Option<<OutboundRedisFactor as Factor>::RuntimeConfig>
§mqtt: Option<<OutboundMqttFactor as Factor>::RuntimeConfig>
§pg: Option<<OutboundPgFactor as Factor>::RuntimeConfig>
§mysql: Option<<OutboundMysqlFactor as Factor>::RuntimeConfig>
§llm: Option<<LlmFactor as Factor>::RuntimeConfig>
Implementations§
Source§impl TriggerFactorsRuntimeConfig
impl TriggerFactorsRuntimeConfig
Sourcepub fn from_source<T>(source: T) -> Result<Self>where
T: FactorRuntimeConfigSource<WasiFactor> + FactorRuntimeConfigSource<VariablesFactor> + FactorRuntimeConfigSource<KeyValueFactor> + FactorRuntimeConfigSource<OutboundNetworkingFactor> + FactorRuntimeConfigSource<OutboundHttpFactor> + FactorRuntimeConfigSource<SqliteFactor> + FactorRuntimeConfigSource<OutboundRedisFactor> + FactorRuntimeConfigSource<OutboundMqttFactor> + FactorRuntimeConfigSource<OutboundPgFactor> + FactorRuntimeConfigSource<OutboundMysqlFactor> + FactorRuntimeConfigSource<LlmFactor> + RuntimeConfigSourceFinalizer,
pub fn from_source<T>(source: T) -> Result<Self>where
T: FactorRuntimeConfigSource<WasiFactor> + FactorRuntimeConfigSource<VariablesFactor> + FactorRuntimeConfigSource<KeyValueFactor> + FactorRuntimeConfigSource<OutboundNetworkingFactor> + FactorRuntimeConfigSource<OutboundHttpFactor> + FactorRuntimeConfigSource<SqliteFactor> + FactorRuntimeConfigSource<OutboundRedisFactor> + FactorRuntimeConfigSource<OutboundMqttFactor> + FactorRuntimeConfigSource<OutboundPgFactor> + FactorRuntimeConfigSource<OutboundMysqlFactor> + FactorRuntimeConfigSource<LlmFactor> + RuntimeConfigSourceFinalizer,
Get the runtime configuration from the given source.
Trait Implementations§
Source§impl Default for TriggerFactorsRuntimeConfig
impl Default for TriggerFactorsRuntimeConfig
Source§fn default() -> TriggerFactorsRuntimeConfig
fn default() -> TriggerFactorsRuntimeConfig
Returns the “default value” for a type. Read more
Source§impl From<ResolvedRuntimeConfig<TriggerFactorsRuntimeConfig>> for TriggerFactorsRuntimeConfig
impl From<ResolvedRuntimeConfig<TriggerFactorsRuntimeConfig>> for TriggerFactorsRuntimeConfig
Source§fn from(value: ResolvedRuntimeConfig<TriggerFactorsRuntimeConfig>) -> Self
fn from(value: ResolvedRuntimeConfig<TriggerFactorsRuntimeConfig>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TriggerFactorsRuntimeConfig
impl !RefUnwindSafe for TriggerFactorsRuntimeConfig
impl Send for TriggerFactorsRuntimeConfig
impl Sync for TriggerFactorsRuntimeConfig
impl Unpin for TriggerFactorsRuntimeConfig
impl !UnwindSafe for TriggerFactorsRuntimeConfig
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> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
Source§impl<T> GetSetFdFlags for T
impl<T> GetSetFdFlags for T
Source§fn get_fd_flags(&self) -> Result<FdFlags, Error>where
T: AsFilelike,
fn get_fd_flags(&self) -> Result<FdFlags, Error>where
T: AsFilelike,
Query the “status” flags for the
self
file descriptor.Source§fn new_set_fd_flags(&self, fd_flags: FdFlags) -> Result<SetFdFlags<T>, Error>where
T: AsFilelike,
fn new_set_fd_flags(&self, fd_flags: FdFlags) -> Result<SetFdFlags<T>, Error>where
T: AsFilelike,
Source§fn set_fd_flags(&mut self, set_fd_flags: SetFdFlags<T>) -> Result<(), Error>where
T: AsFilelike,
fn set_fd_flags(&mut self, set_fd_flags: SetFdFlags<T>) -> Result<(), Error>where
T: AsFilelike,
Set the “status” flags for the
self
file descriptor. Read moreSource§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request