pub struct RuntimePlugins { /* private fields */ }
Expand description
Used internally in the orchestrator implementation and in the generated code. Not intended to be used elsewhere.
Implementations§
source§impl RuntimePlugins
impl RuntimePlugins
sourcepub fn with_client_plugins(
self,
plugins: impl IntoIterator<Item = SharedRuntimePlugin>
) -> Self
pub fn with_client_plugins( self, plugins: impl IntoIterator<Item = SharedRuntimePlugin> ) -> Self
Add several client-level runtime plugins from an iterator.
sourcepub fn with_client_plugin(self, plugin: impl RuntimePlugin + 'static) -> Self
pub fn with_client_plugin(self, plugin: impl RuntimePlugin + 'static) -> Self
Adds a client-level runtime plugin.
sourcepub fn with_operation_plugins(
self,
plugins: impl IntoIterator<Item = SharedRuntimePlugin>
) -> Self
pub fn with_operation_plugins( self, plugins: impl IntoIterator<Item = SharedRuntimePlugin> ) -> Self
Add several operation-level runtime plugins from an iterator.
sourcepub fn with_operation_plugin(self, plugin: impl RuntimePlugin + 'static) -> Self
pub fn with_operation_plugin(self, plugin: impl RuntimePlugin + 'static) -> Self
Adds an operation-level runtime plugin.
sourcepub fn apply_client_configuration(
&self,
cfg: &mut ConfigBag
) -> Result<RuntimeComponentsBuilder, BoxError>
pub fn apply_client_configuration( &self, cfg: &mut ConfigBag ) -> Result<RuntimeComponentsBuilder, BoxError>
Apply the client-level runtime plugins’ config to the given config bag.
sourcepub fn apply_operation_configuration(
&self,
cfg: &mut ConfigBag
) -> Result<RuntimeComponentsBuilder, BoxError>
pub fn apply_operation_configuration( &self, cfg: &mut ConfigBag ) -> Result<RuntimeComponentsBuilder, BoxError>
Apply the operation-level runtime plugins’ config to the given config bag.
Trait Implementations§
source§impl Clone for RuntimePlugins
impl Clone for RuntimePlugins
source§fn clone(&self) -> RuntimePlugins
fn clone(&self) -> RuntimePlugins
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RuntimePlugins
impl Debug for RuntimePlugins
source§impl Default for RuntimePlugins
impl Default for RuntimePlugins
source§fn default() -> RuntimePlugins
fn default() -> RuntimePlugins
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for RuntimePlugins
impl Send for RuntimePlugins
impl Sync for RuntimePlugins
impl Unpin for RuntimePlugins
impl !UnwindSafe for RuntimePlugins
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> 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>
Creates a shared type from an unshared type.