#[non_exhaustive]pub struct DefaultPluginParams { /* private fields */ }
Expand description
Arguments for the default_plugins
method.
This is a struct to enable adding new parameters in the future without breaking the API.
Implementations§
Source§impl DefaultPluginParams
impl DefaultPluginParams
Sourcepub fn new() -> Self
pub fn new() -> Self
Creates a new DefaultPluginParams
.
Sourcepub fn with_retry_partition_name(
self,
name: impl Into<Cow<'static, str>>,
) -> Self
pub fn with_retry_partition_name( self, name: impl Into<Cow<'static, str>>, ) -> Self
Sets the retry partition name.
Sourcepub fn with_behavior_version(self, version: BehaviorVersion) -> Self
pub fn with_behavior_version(self, version: BehaviorVersion) -> Self
Sets the behavior major version.
Trait Implementations§
Source§impl Debug for DefaultPluginParams
impl Debug for DefaultPluginParams
Source§impl Default for DefaultPluginParams
impl Default for DefaultPluginParams
Source§fn default() -> DefaultPluginParams
fn default() -> DefaultPluginParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DefaultPluginParams
impl RefUnwindSafe for DefaultPluginParams
impl Send for DefaultPluginParams
impl Sync for DefaultPluginParams
impl Unpin for DefaultPluginParams
impl UnwindSafe for DefaultPluginParams
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.