pub struct ProcessOwnedCodeModeSession { /* private fields */ }Expand description
A logical code-mode session assigned to a process-owned host.
Implementations§
Source§impl ProcessOwnedCodeModeSession
impl ProcessOwnedCodeModeSession
pub fn new() -> Self
pub async fn execute( &self, request: ExecuteRequest, ) -> Result<StartedCell, String>
pub async fn wait(&self, request: WaitRequest) -> Result<WaitOutcome, String>
pub async fn terminate(&self, cell_id: CellId) -> Result<WaitOutcome, String>
pub async fn shutdown(&self) -> Result<(), String>
Trait Implementations§
Source§impl CodeModeSession for ProcessOwnedCodeModeSession
impl CodeModeSession for ProcessOwnedCodeModeSession
fn execute<'a>( &'a self, request: ExecuteRequest, ) -> CodeModeSessionResultFuture<'a, StartedCell>
fn wait<'a>( &'a self, request: WaitRequest, ) -> CodeModeSessionResultFuture<'a, WaitOutcome>
fn terminate<'a>( &'a self, cell_id: CellId, ) -> CodeModeSessionResultFuture<'a, WaitOutcome>
fn shutdown<'a>(&'a self) -> CodeModeSessionResultFuture<'a, ()>
Source§impl Drop for ProcessOwnedCodeModeSession
impl Drop for ProcessOwnedCodeModeSession
Auto Trait Implementations§
impl !RefUnwindSafe for ProcessOwnedCodeModeSession
impl !UnwindSafe for ProcessOwnedCodeModeSession
impl Freeze for ProcessOwnedCodeModeSession
impl Send for ProcessOwnedCodeModeSession
impl Sync for ProcessOwnedCodeModeSession
impl Unpin for ProcessOwnedCodeModeSession
impl UnsafeUnpin for ProcessOwnedCodeModeSession
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
impl<T> ErasedDestructor for Twhere
T: 'static,
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