pub struct OciLifecycleAdapter { /* private fields */ }Expand description
SDK-only lifecycle adapter. It contains no Box image, VM, or driver internals.
Implementations§
Source§impl OciLifecycleAdapter
impl OciLifecycleAdapter
Sourcepub async fn connect(
endpoint: OciRuntimeEndpoint,
) -> ExecutionManagerResult<Self>
pub async fn connect( endpoint: OciRuntimeEndpoint, ) -> ExecutionManagerResult<Self>
Connect to an out-of-process A3S OCI host service.
Sourcepub fn from_client(
endpoint: OciRuntimeEndpoint,
client: RuntimeClient,
) -> ExecutionManagerResult<Self>
pub fn from_client( endpoint: OciRuntimeEndpoint, client: RuntimeClient, ) -> ExecutionManagerResult<Self>
Inject a public SDK client, primarily for an in-process host service or test.
Sourcepub async fn require_isolation(
&self,
isolation: ExecutionIsolation,
) -> ExecutionManagerResult<RuntimeInfo>
pub async fn require_isolation( &self, isolation: ExecutionIsolation, ) -> ExecutionManagerResult<RuntimeInfo>
Fail before product preparation unless one launch-ready driver can meet the requested isolation and the exact lifecycle surface is advertised.
Trait Implementations§
Source§impl Clone for OciLifecycleAdapter
impl Clone for OciLifecycleAdapter
Source§fn clone(&self) -> OciLifecycleAdapter
fn clone(&self) -> OciLifecycleAdapter
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for OciLifecycleAdapter
impl !UnwindSafe for OciLifecycleAdapter
impl Freeze for OciLifecycleAdapter
impl Send for OciLifecycleAdapter
impl Sync for OciLifecycleAdapter
impl Unpin for OciLifecycleAdapter
impl UnsafeUnpin for OciLifecycleAdapter
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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 more