Struct scheduling::net::rpc::worker_rpc_server::WorkerRpcServer
source · pub struct WorkerRpcServer {}Trait Implementations§
source§impl Debug for WorkerRpcServer
impl Debug for WorkerRpcServer
source§impl Default for WorkerRpcServer
impl Default for WorkerRpcServer
source§fn default() -> WorkerRpcServer
fn default() -> WorkerRpcServer
Returns the “default value” for a type. Read more
source§impl WorkerApi for WorkerRpcServer
impl WorkerApi for WorkerRpcServer
fn schedule_nando<'life0, 'async_trait>( &'life0 self, request: Request<ActivationIntent> ) -> Pin<Box<dyn Future<Output = Result<Response<ActivationResolution>, Status>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,
fn schedule_spawned_task<'life0, 'async_trait>( &'life0 self, request: Request<SpawnedTask> ) -> Pin<Box<dyn Future<Output = Result<Response<ActivationResolution>, Status>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,
fn handle_task_completion<'life0, 'async_trait>( &'life0 self, request: Request<TaskCompletion> ) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,
fn assume_ownership<'life0, 'async_trait>( &'life0 self, request: Request<AssumeOwnershipRequest> ) -> Pin<Box<dyn Future<Output = Result<Response<AssumeOwnershipResponse>, Status>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,
fn move_ownership<'life0, 'async_trait>( &'life0 self, request: Request<MoveOwnershipRequest> ) -> Pin<Box<dyn Future<Output = Result<Response<MoveOwnershipResponse>, Status>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,
fn schedule_task_graph<'life0, 'async_trait>( &'life0 self, request: Request<TaskGraph> ) -> Pin<Box<dyn Future<Output = Result<Response<TaskGraphResolution>, Status>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,
fn add_cache_mapping<'life0, 'async_trait>( &'life0 self, request: Request<CacheMapping> ) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,
Auto Trait Implementations§
impl RefUnwindSafe for WorkerRpcServer
impl Send for WorkerRpcServer
impl Sync for WorkerRpcServer
impl Unpin for WorkerRpcServer
impl UnwindSafe for WorkerRpcServer
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
§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> 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