pub enum Order {
Defaults,
Overrides,
NestedComponents,
}
Expand description
Runtime plugin ordering.
There are two runtime plugin “levels” that run in the following order:
- Service runtime plugins - runtime plugins that pertain to the entire service.
- Operation runtime plugins - runtime plugins relevant only to a single operation.
This enum is used to determine runtime plugin order within those levels.
Variants§
Defaults
Runtime plugins with Defaults
order are executed first within their level.
Runtime plugins with this order should only be used for registering default components and config.
Overrides
Runtime plugins with Overrides
order are executed after Defaults
within their level.
This is the default order.
NestedComponents
Runtime plugins with NestedComponents
order are executed after Overrides
within their level.
This level is intended to be used for wrapping components configured in previous runtime plugins.
Trait Implementations§
source§impl Ord for Order
impl Ord for Order
source§impl PartialOrd for Order
impl PartialOrd for Order
impl Copy for Order
impl Eq for Order
impl StructuralPartialEq for Order
Auto Trait Implementations§
impl Freeze for Order
impl RefUnwindSafe for Order
impl Send for Order
impl Sync for Order
impl Unpin for Order
impl UnwindSafe for Order
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,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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.