pub struct RevisionLoad<'a> {Show 16 fields
pub pack_refs: &'a [RevisionPackRef],
pub config: Arc<HostConfig>,
pub mocks: Option<Arc<MockLayer>>,
pub wasi_policy: Arc<RunnerWasiPolicy>,
pub session_host: Arc<dyn SessionHost>,
pub session_store: Arc<dyn SessionStore>,
pub state_store: Arc<dyn StateStore>,
pub state_host: Arc<dyn StateHost>,
pub secrets_manager: Arc<dyn SecretsManager>,
pub deployment_id: DeploymentId,
pub bundle_id: BundleId,
pub revision_id: RevisionId,
pub customer_id: Option<String>,
pub runtime_configs_by_pack_id: &'a BTreeMap<String, Arc<BTreeMap<String, Value>>>,
pub runtime_refs_by_pack_id: &'a BTreeMap<String, Arc<BTreeMap<String, String>>>,
pub runtime_ref_resolver: Option<Arc<dyn RuntimeRefResolver>>,
}Expand description
The arguments of TenantRuntime::load_revision, as one struct, for
TenantRuntime::load_revision_with. Field meanings are exactly
load_revision’s parameters of the same names.
Fields§
§pack_refs: &'a [RevisionPackRef]§config: Arc<HostConfig>§mocks: Option<Arc<MockLayer>>§wasi_policy: Arc<RunnerWasiPolicy>§session_host: Arc<dyn SessionHost>§session_store: Arc<dyn SessionStore>§state_store: Arc<dyn StateStore>§state_host: Arc<dyn StateHost>§secrets_manager: Arc<dyn SecretsManager>§deployment_id: DeploymentId§bundle_id: BundleId§revision_id: RevisionId§customer_id: Option<String>§runtime_configs_by_pack_id: &'a BTreeMap<String, Arc<BTreeMap<String, Value>>>§runtime_refs_by_pack_id: &'a BTreeMap<String, Arc<BTreeMap<String, String>>>§runtime_ref_resolver: Option<Arc<dyn RuntimeRefResolver>>Auto Trait Implementations§
impl<'a> !RefUnwindSafe for RevisionLoad<'a>
impl<'a> !UnwindSafe for RevisionLoad<'a>
impl<'a> Freeze for RevisionLoad<'a>
impl<'a> Send for RevisionLoad<'a>
impl<'a> Sync for RevisionLoad<'a>
impl<'a> Unpin for RevisionLoad<'a>
impl<'a> UnsafeUnpin for RevisionLoad<'a>
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
Source§fn with_current_context(self) -> WithContext<Self> ⓘ
fn with_current_context(self) -> WithContext<Self> ⓘ
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> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request