pub struct Package<L: Language> { /* private fields */ }Implementations§
Source§impl<L: Language> Package<L>
impl<L: Language> Package<L>
pub fn new(dir: impl Into<String>) -> Self
pub fn with(self, plugin: impl Plugin<L>) -> Self
Sourcepub fn customize(self, code: CodeCustomization) -> Self
pub fn customize(self, code: CodeCustomization) -> Self
Apply an explicit SDK-author source overlay after all plugins/finalizers.
Sourcepub fn middleware(self, middleware: BundledMiddleware) -> Self
pub fn middleware(self, middleware: BundledMiddleware) -> Self
Ship SDK-author runtime middleware enabled by default in this package.
Sourcepub fn idempotency(self, config: IdempotencyConfig) -> Self
pub fn idempotency(self, config: IdempotencyConfig) -> Self
Resolve explicit idempotency policy independently for this package.
pub fn common(self, common: Common) -> Self
pub fn settings(self, settings: L::Settings) -> Self
pub fn settings_mut(&mut self) -> &mut L::Settings
Auto Trait Implementations§
impl<L> !RefUnwindSafe for Package<L>
impl<L> !UnwindSafe for Package<L>
impl<L> Freeze for Package<L>
impl<L> Send for Package<L>
impl<L> Sync for Package<L>
impl<L> Unpin for Package<L>
impl<L> UnsafeUnpin for Package<L>
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