pub enum PythonRunnerHostRequest {
Describe {
request_id: u64,
path: PathBuf,
generation_id: String,
},
Invoke {
request_id: u64,
invocation: Box<PythonInvocationRequest>,
},
Cancel {
request_id: u64,
invocation_id: String,
cancellation_token_id: String,
},
Health {
request_id: u64,
},
Drain {
request_id: u64,
},
Shutdown {
request_id: u64,
},
}Expand description
Requests sent by the Soma host over the dedicated runner control channel.
Variants§
Trait Implementations§
Source§impl Clone for PythonRunnerHostRequest
impl Clone for PythonRunnerHostRequest
Source§fn clone(&self) -> PythonRunnerHostRequest
fn clone(&self) -> PythonRunnerHostRequest
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 moreSource§impl Debug for PythonRunnerHostRequest
impl Debug for PythonRunnerHostRequest
Source§impl<'de> Deserialize<'de> for PythonRunnerHostRequest
impl<'de> Deserialize<'de> for PythonRunnerHostRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for PythonRunnerHostRequest
impl PartialEq for PythonRunnerHostRequest
Source§fn eq(&self, other: &PythonRunnerHostRequest) -> bool
fn eq(&self, other: &PythonRunnerHostRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PythonRunnerHostRequest
impl Serialize for PythonRunnerHostRequest
impl StructuralPartialEq for PythonRunnerHostRequest
Auto Trait Implementations§
impl Freeze for PythonRunnerHostRequest
impl RefUnwindSafe for PythonRunnerHostRequest
impl Send for PythonRunnerHostRequest
impl Sync for PythonRunnerHostRequest
impl Unpin for PythonRunnerHostRequest
impl UnsafeUnpin for PythonRunnerHostRequest
impl UnwindSafe for PythonRunnerHostRequest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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