pub struct OneTimeJitHandoff<'a> { /* private fields */ }Expand description
The JIT value can be passed into a provider start exactly once. It must never become a provider identity, label, argument, persisted configuration or log field.
Implementations§
Source§impl<'a> OneTimeJitHandoff<'a>
impl<'a> OneTimeJitHandoff<'a>
Sourcepub fn consume(self) -> &'a EncodedJitConfig
pub fn consume(self) -> &'a EncodedJitConfig
Consuming the handoff prevents the same token being delivered twice by one call.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for OneTimeJitHandoff<'a>
impl<'a> RefUnwindSafe for OneTimeJitHandoff<'a>
impl<'a> Send for OneTimeJitHandoff<'a>
impl<'a> Sync for OneTimeJitHandoff<'a>
impl<'a> Unpin for OneTimeJitHandoff<'a>
impl<'a> UnsafeUnpin for OneTimeJitHandoff<'a>
impl<'a> UnwindSafe for OneTimeJitHandoff<'a>
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